X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/676d655065f5736d20034e124a9381a9cac8000b..d223107206e4dfa6768e0bc2455325dd49e4d2bb:/src/msw/evtloop.cpp diff --git a/src/msw/evtloop.cpp b/src/msw/evtloop.cpp index 2a4da8b446..1909600fa7 100644 --- a/src/msw/evtloop.cpp +++ b/src/msw/evtloop.cpp @@ -281,7 +281,7 @@ int wxEventLoop::Run() // wxModalEventLoop depends on this (so we can't just use ON_BLOCK_EXIT or // something similar here) #if wxUSE_EXCEPTIONS - bool retryAfterException; + bool retryAfterException = false; do { retryAfterException=false; #endif @@ -332,7 +332,8 @@ int wxEventLoop::Run() // there is none yet. OTOH, wxCATCH_ALL isn't // expanded unless wxUSE_EXCEPTIONS, so its // safe to use throw here. - throw; + throw; + default: break; } )