From bacb4d1b4df77c0f4ad940edcd75bbafef8efa9f Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Mon, 3 May 2021 06:39:17 +0100 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 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) -- cgit