From f27bd927312f4c4778bc33ab371b755c3719eeb9 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Mon, 20 Apr 2020 16:44:47 +0200 Subject: Make compiler happy about win_refresh_without_subwin --- src/ui/window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/window.c b/src/ui/window.c index fdbe8208..39e6500d 100644 --- a/src/ui/window.c +++ b/src/ui/window.c @@ -738,7 +738,7 @@ win_refresh_without_subwin(ProfWin *window) void win_refresh_with_subwin(ProfWin *window) { - int subwin_cols; + int subwin_cols = 0; int cols = getmaxx(stdscr); int row_start = screen_mainwin_row_start(); int row_end = screen_mainwin_row_end(); -- cgit 1.4.1-2-gfad0