diff options
author | Filippos Karapetis | 2016-02-19 02:38:30 +0200 |
---|---|---|
committer | Filippos Karapetis | 2016-02-19 02:38:30 +0200 |
commit | b9430d7c727d7c1edb865e962b8ea862e6a84ab0 (patch) | |
tree | af1f6a4155e6fb6aba8926b101d138988e914e66 | |
parent | 52f11b13578d4e3f6bc399d32e91b2b056f0831e (diff) | |
download | scummvm-rg350-b9430d7c727d7c1edb865e962b8ea862e6a84ab0.tar.gz scummvm-rg350-b9430d7c727d7c1edb865e962b8ea862e6a84ab0.tar.bz2 scummvm-rg350-b9430d7c727d7c1edb865e962b8ea862e6a84ab0.zip |
GRAPHICS: Silence some false positive MSVC warnings
-rw-r--r-- | graphics/primitives.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/primitives.cpp b/graphics/primitives.cpp index c9fca83f7b..ac1c58b1d8 100644 --- a/graphics/primitives.cpp +++ b/graphics/primitives.cpp @@ -258,7 +258,7 @@ void drawRoundRect(Common::Rect &rect, int arc, int color, bool filled, void (*p int dy = rect.height() - arc * 2; int r = arc; int stop = 0; - int lastx, lasty; + int lastx = 0, lasty = 0; if (dy < 0) stop = -dy / 2; @@ -303,7 +303,7 @@ void drawRoundRect(Common::Rect &rect, int arc, int color, bool filled, void (*p int dx = rect.width() - arc * 2; int r = arc; int stop = 0; - int lastx, lasty; + int lastx = 0, lasty = 0; if (dx < 0) stop = -dx / 2; |