about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2020-04-20 16:44:47 +0200
committerMichael Vetter <jubalh@iodoru.org>2020-04-20 16:44:47 +0200
commitf27bd927312f4c4778bc33ab371b755c3719eeb9 (patch)
tree1b6743ef8098724f57700026fe8c13edfd32798d
parentb1d71236fe2734e1337e8e6102aa97734137e1f9 (diff)
downloadprofani-tty-f27bd927312f4c4778bc33ab371b755c3719eeb9.tar.gz
Make compiler happy about win_refresh_without_subwin
-rw-r--r--src/ui/window.c2
1 files changed, 1 insertions, 1 deletions
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();