From 6c659494f5591ebba2ef91e6cfa6a24761c14915 Mon Sep 17 00:00:00 2001 From: nicm Date: Thu, 10 Jun 2021 07:45:43 +0000 Subject: Fix warnings, from Jan Tache in GitHub issue 2692. --- tty-term.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tty-term.c') 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) -- cgit