summaryrefslogtreecommitdiffstats
path: root/tty-term.c
diff options
context:
space:
mode:
authornicm <nicm>2021-06-10 07:45:43 +0000
committernicm <nicm>2021-06-10 07:45:43 +0000
commit6c659494f5591ebba2ef91e6cfa6a24761c14915 (patch)
tree9526680400a115e9bfb22871c9eb50bfea29120a /tty-term.c
parent02a6b39db73e55f9f30d46106c378ed4c70cb02b (diff)
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 275efe2f..ae103fd7 100644
--- a/tty-term.c
+++ b/tty-term.c
@@ -688,7 +688,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)