suppress compiler warning about uninit var

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2003-09-27 13:28:28 +00:00
parent 051a889da9
commit 1bba1946d5

View 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() )
{