From 59730a00a630d0e1d5ed6c46a4349002d07c2d0e Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 20 Nov 2008 15:06:36 +0000 Subject: [PATCH] fix gcc 3.3 warning about possibly uninitialized (but in reality initialized) variable after the last change git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/gnome/gprint.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gtk/gnome/gprint.cpp b/src/gtk/gnome/gprint.cpp index d3e6fbe58d..737bfc374b 100644 --- a/src/gtk/gnome/gprint.cpp +++ b/src/gtk/gnome/gprint.cpp @@ -1920,7 +1920,7 @@ void wxGnomePrinterDCImpl::DoGetTextExtent(const wxString& string, wxCoord *widt const wxCharBuffer dataUTF8 = string.utf8_str(); #endif - gint oldSize; + gint oldSize = 0; if ( theFont ) { // scale the font and apply it -- 2.45.2