Added initialization of locals to quite compiler warnings.

This commit is contained in:
Bart House
2018-11-20 10:47:12 -08:00
parent d177b5e705
commit 520b130a5c
+1 -1
View File
@@ -46,7 +46,7 @@ static void clear_map(void);
WINDOW * WINDOW *
curses_create_window(int width, int height, orient orientation) curses_create_window(int width, int height, orient orientation)
{ {
int mapx, mapy, maph, mapw = 0; int mapx = 0, mapy = 0, maph = 0, mapw = 0;
int startx = 0; int startx = 0;
int starty = 0; int starty = 0;
WINDOW *win; WINDOW *win;