]> git.saurik.com Git - wxWidgets.git/commitdiff
silence incorrect warning about missing return value
authorStefan Csomor <csomor@advancedconcepts.ch>
Wed, 16 Mar 2011 06:34:20 +0000 (06:34 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Wed, 16 Mar 2011 06:34:20 +0000 (06:34 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/osx/cocoa/evtloop.mm

index dea4cc832e383088a35e0998c9d499fb3909a505..b170ae0db6b8dbfeffde0e57cae3fd053499c56f 100644 (file)
@@ -214,9 +214,9 @@ int wxGUIEventLoop::DoDispatchTimeout(unsigned long timeout)
                 return -1;
             default:
                 wxFAIL_MSG("unknown response code");
-                return -1;
                 break;
         }
+        return -1;
     }
     else 
     {