about summary refs log tree commit diff stats
path: root/src/ui/window.c
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2019-07-22 14:27:14 +0200
committerMichael Vetter <jubalh@iodoru.org>2019-07-22 14:27:14 +0200
commite540ccd50ee8d8b1a8e58049caa35bdb0e9da74f (patch)
tree47e00a0c51c9ea6467ae6580847ab463fc8ffe07 /src/ui/window.c
parent137d128af27b5d37e7c5cd5f88d1cbcb9889e446 (diff)
downloadprofani-tty-e540ccd50ee8d8b1a8e58049caa35bdb0e9da74f.tar.gz
Remove dead assignments
Diffstat (limited to 'src/ui/window.c')
-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 93e5801c..80074fc3 100644
--- a/src/ui/window.c
+++ b/src/ui/window.c
@@ -1557,7 +1557,7 @@ _win_print_wrapped(WINDOW *win, const char *const message, size_t indent, int pa
             wordlen = utf8_display_len(word);
 
             int curx = getcurx(win);
-            int cury = getcury(win);
+            int cury;
             int maxx = getmaxx(win);
 
             // wrap required