From 377bbf80f38b9af22a007ef157cd7082f853706d Mon Sep 17 00:00:00 2001 From: psychon Date: Sun, 7 Nov 2010 16:57:08 +0000 Subject: [PATCH] Fix the only warning from -Wswitch-enum we had MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit WebModules.cpp:511: error: enumeration value ‘PAGE_NOTFOUND’ not handled in switch [-Wswitch-enum] git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2179 726aef4b-f618-498e-8847-2d620e286838 --- WebModules.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/WebModules.cpp b/WebModules.cpp index 1b8e9af7..3141f8c9 100644 --- a/WebModules.cpp +++ b/WebModules.cpp @@ -520,6 +520,7 @@ void CWebSock::OnPageRequest(const CString& sURI) { // the connection will be closed Close(CLT_AFTERWRITE); break; + case PAGE_NOTFOUND: default: PrintNotFound(); break;