From eabbc41ef156e54aee047e3c1bd6d2de5989f030 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Thu, 29 Sep 2016 13:28:40 +0000 Subject: Avoid compilation warnings with -Wmaybe-uninitialized git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11993 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_win32.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Fl_win32.cxx') diff --git a/src/Fl_win32.cxx b/src/Fl_win32.cxx index 5bd64165f..04facd944 100644 --- a/src/Fl_win32.cxx +++ b/src/Fl_win32.cxx @@ -2390,7 +2390,7 @@ void Fl_WinAPI_Window_Driver::capture_titlebar_and_borders(Fl_Shared_Image*& top top = left = bottom = right = NULL; if (!shown() || parent() || !border() || !visible()) return; int wsides, hbottom, bt; - float scaling; + float scaling = 1; RECT r = border_width_title_bar_height(wsides, hbottom, bt, &scaling); int htop = bt + hbottom; Fl_Surface_Device *previous = Fl_Surface_Device::surface(); -- cgit v1.2.3