diff options
author | Filippos Karapetis | 2019-05-27 14:52:37 +0300 |
---|---|---|
committer | Filippos Karapetis | 2019-05-27 14:53:46 +0300 |
commit | 7346b69d886b10adc93e848ea3c609b253e162f6 (patch) | |
tree | ac8bc7ce14e04075c9e3fdd50f1c12681971d8a0 /graphics/macgui | |
parent | 80f773c9151b00995b986e96eedfe91400b028ad (diff) | |
download | scummvm-rg350-7346b69d886b10adc93e848ea3c609b253e162f6.tar.gz scummvm-rg350-7346b69d886b10adc93e848ea3c609b253e162f6.tar.bz2 scummvm-rg350-7346b69d886b10adc93e848ea3c609b253e162f6.zip |
GRAPHICS: Initialize potentially uninitialized variables
Diffstat (limited to 'graphics/macgui')
-rw-r--r-- | graphics/macgui/mactextwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/macgui/mactextwindow.cpp b/graphics/macgui/mactextwindow.cpp index 4edc924c02..8f1c293af9 100644 --- a/graphics/macgui/mactextwindow.cpp +++ b/graphics/macgui/mactextwindow.cpp @@ -190,7 +190,7 @@ void MacTextWindow::drawSelection() { end = MIN((int)getInnerDimensions().height(), end); int numLines = 0; - int x1, x2; + int x1 = 0, x2 = 0; for (int y = start; y < end; y++) { if (!numLines) { |