aboutsummaryrefslogtreecommitdiff
path: root/tty-term.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2021-05-03 06:39:17 +0100
committerNicholas Marriott <nicholas.marriott@gmail.com>2021-06-10 09:22:39 +0100
commitbacb4d1b4df77c0f4ad940edcd75bbafef8efa9f (patch)
tree4d68acdcb64f24bfd59dc3ea79dafa098e28d5bf /tty-term.c
parentad2f7642f2795fc1073c02cfa6348e48dfdfc45d (diff)
downloadrtmux-bacb4d1b4df77c0f4ad940edcd75bbafef8efa9f.tar.gz
rtmux-bacb4d1b4df77c0f4ad940edcd75bbafef8efa9f.tar.bz2
rtmux-bacb4d1b4df77c0f4ad940edcd75bbafef8efa9f.zip
Fix warnings, from Jan Tache in GitHub issue 2692.
Diffstat (limited to 'tty-term.c')
-rw-r--r--tty-term.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tty-term.c b/tty-term.c
index 4a7e7415..add71d89 100644
--- a/tty-term.c
+++ b/tty-term.c
@@ -697,7 +697,7 @@ tty_term_read_list(const char *name, int fd, char ***caps, u_int *ncaps,
ent = &tty_term_codes[i];
switch (ent->type) {
case TTYCODE_NONE:
- break;
+ continue;
case TTYCODE_STRING:
s = tigetstr((char *)ent->name);
if (s == NULL || s == (char *)-1)