summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-09-09 18:04:41 -0400
committerJune McEnroe <june@causal.agency>2020-09-09 18:04:41 -0400
commitef59e235ebb6c1420803816cf50d8ef1714dcc4e (patch)
tree27ccca5d1419c133b44c7e48d03a70f04eb1ddc7
parentInclude DEL in characters ncurses will print in ^A form (diff)
downloadcatgirl-ef59e235ebb6c1420803816cf50d8ef1714dcc4e.tar.gz
catgirl-ef59e235ebb6c1420803816cf50d8ef1714dcc4e.zip
Silence set-but-unused warning 1.2
getyx is so annoying this way.
Diffstat (limited to '')
-rw-r--r--ui.c1
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) {
ONTENT_TYPEJune McEnroe 2019-09-05Decode entities in titlesJune McEnroe 2019-09-05Print title as soon as it's availableJune McEnroe 2019-09-05Use CURL_PREFIX to set flagsJune McEnroe 2019-09-05Add titleJune McEnroe 2019-09-04Add Avorter n'est pas tuerJune McEnroe 2019-08-29Unset executable on shell scriptsJune McEnroe 2019-08-29Add long-missing setopt to bin.7June McEnroe 2019-08-29Add editJune McEnroe