From 1bba1946d5d2c724b51d760eecbeb3238eccdb09 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 27 Sep 2003 13:28:28 +0000 Subject: [PATCH] suppress compiler warning about uninit var git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/tbar95.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/msw/tbar95.cpp b/src/msw/tbar95.cpp index 230bddb9eb..304a161756 100644 --- a/src/msw/tbar95.cpp +++ b/src/msw/tbar95.cpp @@ -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() ) { -- 2.45.2