Silence set-but-unused warning

getyx is so annoying this way.
master
C. McEnroe 2020-09-09 18:04:41 -04:00
parent 9513542c6d
commit ef59e235eb
1 changed files with 1 additions and 0 deletions

1
ui.c
View File

@ -455,6 +455,7 @@ static void mainAdd(int y, const char *str) {
styleAdd(main, str); styleAdd(main, str);
getyx(main, ny, nx); getyx(main, ny, nx);
if (ny == y) wclrtoeol(main); if (ny == y) wclrtoeol(main);
(void)nx;
} }
static void windowUpdate(void) { static void windowUpdate(void) {