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:
parent
051a889da9
commit
1bba1946d5
@ -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() )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user