diff --git a/src/osx/cocoa/evtloop.mm b/src/osx/cocoa/evtloop.mm index dea4cc832e..b170ae0db6 100644 --- a/src/osx/cocoa/evtloop.mm +++ b/src/osx/cocoa/evtloop.mm @@ -214,9 +214,9 @@ int wxGUIEventLoop::DoDispatchTimeout(unsigned long timeout) return -1; default: wxFAIL_MSG("unknown response code"); - return -1; break; } + return -1; } else {