From 520b130a5cc9769d1909b59b83c0d4a786c175e7 Mon Sep 17 00:00:00 2001 From: Bart House Date: Tue, 20 Nov 2018 10:47:12 -0800 Subject: [PATCH] Added initialization of locals to quite compiler warnings. --- win/curses/curswins.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win/curses/curswins.c b/win/curses/curswins.c index b04fd94c7..012821280 100644 --- a/win/curses/curswins.c +++ b/win/curses/curswins.c @@ -46,7 +46,7 @@ static void clear_map(void); WINDOW * 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 starty = 0; WINDOW *win;