From ef59e235ebb6c1420803816cf50d8ef1714dcc4e Mon Sep 17 00:00:00 2001 From: C. McEnroe Date: Wed, 9 Sep 2020 18:04:41 -0400 Subject: Silence set-but-unused warning getyx is so annoying this way. --- ui.c | 1 + 1 file changed, 1 insertion(+) (limited to 'ui.c') 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) { -- cgit 1.4.1-2-gfad0