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-05-03 06:39:17 +0100
commit40467726e3a985f0d7c064c6dcf7121f3266ab70 (patch)
tree920705501106dd08f667d65bdda0699795f9451e /tty-term.c
parent2e7ec8c0b91dc51e6e22b2f55cc4511610044673 (diff)
downloadrtmux-40467726e3a985f0d7c064c6dcf7121f3266ab70.tar.gz
rtmux-40467726e3a985f0d7c064c6dcf7121f3266ab70.tar.bz2
rtmux-40467726e3a985f0d7c064c6dcf7121f3266ab70.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)