]> git.saurik.com Git - wxWidgets.git/commitdiff
suppress compiler warning about uninit var
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 27 Sep 2003 13:28:28 +0000 (13:28 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 27 Sep 2003 13:28:28 +0000 (13:28 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/tbar95.cpp

index 230bddb9eb80eddea82e518c57686660aeca8b77..304a16175640739dd1bf23386bf569586ab9b279 100644 (file)
@@ -915,7 +915,7 @@ bool wxToolBar::MSWCommand(WXUINT WXUNUSED(cmd), WXWORD id)
     if ( !tool )
         return FALSE;
 
-    bool toggled;
+    bool toggled = false; // just to suppress warnings
 
     if ( tool->CanBeToggled() )
     {