mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-24 13:13:58 +00:00
GRAPHICS: Silence some false positive MSVC warnings
This commit is contained in:
parent
52f11b1357
commit
b9430d7c72
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user