about summary refs log tree commit diff
path: root/ui.c
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 /ui.c
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 'ui.c')
-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) {
td>June McEnroe 2017-07-31Build with debug infoJune McEnroe 2017-07-31Don't dump tiles in coreJune McEnroe 2017-07-31Use designated initializers for messagesJune McEnroe 2017-07-31Show other clients' cursorsJune McEnroe 2017-07-31Perform enter as two moves rather than a loopJune McEnroe 2017-07-31Track tile access countsJune McEnroe 2017-07-31Adjust move speed in clientJune McEnroe 2017-07-31Handle large movesJune McEnroe 2017-07-30Optimize builds for chrootJune McEnroe 2017-07-30Persist bright across color changesJune McEnroe 2017-07-30Add index.htmlJune McEnroe 2017-07-30Add snapshot.shJune McEnroe 2017-07-30Fix termcap patch for background colorsJune McEnroe 2017-07-30Update helpJune McEnroe 2017-07-30Fix help to track colorJune McEnroe 2017-07-30Support background colorsJune McEnroe 2017-07-30Track color only client-sideJune McEnroe 2017-07-30Add ostensible support for background colorsJune McEnroe 2017-07-30Add tile create and access timestampsJune McEnroe 2017-07-30Assert stable struct Tile field offsetsJune McEnroe 2017-07-30Add chroot.shJune McEnroe 2017-07-30Add ` commandJune McEnroe 2017-07-30Add sshd_configJune McEnroe 2017-07-30Add termcap patchJune McEnroe