From: George Tasker Date: Thu, 22 Nov 2001 23:17:45 +0000 (+0000) Subject: Fixed coding of a switch statement that had RETURN statements before the BREAK statem... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/bb6de5ffad98697205287a04fe91ca73e7194709 Fixed coding of a switch statement that had RETURN statements before the BREAK statements, causing compiler warnings with BCC git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/settings.cpp b/src/msw/settings.cpp index e5e54f5017..745f2f5787 100644 --- a/src/msw/settings.cpp +++ b/src/msw/settings.cpp @@ -273,8 +273,10 @@ bool wxSystemSettings::GetCapability(int index) { case wxSYS_CAN_ICONIZE_FRAME: case wxSYS_CAN_DRAW_FRAME_DECORATIONS: - return TRUE; break; + return TRUE; default: return FALSE; } + + return FALSE; }