From 85a0778e6a92e3b83dce9827ba86eade9aef00d9 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 21 Jun 2010 12:19:04 +0000 Subject: [PATCH] Suppress bogus g++ warnings about uninitialized variables. The variables are always initialized but for some reason (at least the Apple version of) g++ gives warnings for them. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/propgrid/propgrid.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/propgrid/propgrid.cpp b/samples/propgrid/propgrid.cpp index 8cbb86316f..e2566c7dc0 100644 --- a/samples/propgrid/propgrid.cpp +++ b/samples/propgrid/propgrid.cpp @@ -3047,8 +3047,8 @@ void FormMain::OnCatColours( wxCommandEvent& event ) void FormMain::OnSelectStyle( wxCommandEvent& WXUNUSED(event) ) { - int style; - int extraStyle; + int style = 0; + int extraStyle = 0; { wxArrayString chs; -- 2.45.2