diff options
author | C. McEnroe | 2020-09-09 18:04:41 -0400 |
---|---|---|
committer | C. McEnroe | 2020-09-09 18:04:41 -0400 |
commit | ef59e235ebb6c1420803816cf50d8ef1714dcc4e (patch) | |
tree | 27ccca5d1419c133b44c7e48d03a70f04eb1ddc7 /ui.c | |
parent | 9513542c6daa640c1e342fcf817ad1829c9f1454 (diff) |
Silence set-but-unused warning 1.2
getyx is so annoying this way.
Diffstat (limited to 'ui.c')
-rw-r--r-- | ui.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui.c b/ui.c index 25de2ce..22ec02e 100644 --- a/ui.c +++ b/ui.c @@ -455,6 +455,7 @@ static void mainAdd(int y, const char *str) { styleAdd(main, str); getyx(main, ny, nx); if (ny == y) wclrtoeol(main); + (void)nx; } static void windowUpdate(void) { |