diff options
| author | Manolo Gouy <Manolo> | 2016-09-29 13:28:40 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2016-09-29 13:28:40 +0000 |
| commit | eabbc41ef156e54aee047e3c1bd6d2de5989f030 (patch) | |
| tree | a87752490ca15ab611634ec406ad3dc38828bbf2 /src/drivers/WinAPI/Fl_WinAPI_Window_Driver.cxx | |
| parent | 42624dc17f5010763a182f3144cd97cd5667ceac (diff) | |
Avoid compilation warnings with -Wmaybe-uninitialized
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11993 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/drivers/WinAPI/Fl_WinAPI_Window_Driver.cxx')
| -rw-r--r-- | src/drivers/WinAPI/Fl_WinAPI_Window_Driver.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/WinAPI/Fl_WinAPI_Window_Driver.cxx b/src/drivers/WinAPI/Fl_WinAPI_Window_Driver.cxx index 88afaecbf..eb8e13b33 100644 --- a/src/drivers/WinAPI/Fl_WinAPI_Window_Driver.cxx +++ b/src/drivers/WinAPI/Fl_WinAPI_Window_Driver.cxx @@ -112,7 +112,7 @@ int Fl_WinAPI_Window_Driver::decorated_w() int Fl_WinAPI_Window_Driver::decorated_h() { int bt, bx, by; - float scaling; + float scaling = 1; border_width_title_bar_height(bx, by, bt, &scaling); return h() + bt/scaling + 2 * by; } |
