diff options
| -rw-r--r-- | core/ccan-config.c | 3 | ||||
| -rw-r--r-- | util/keys.c | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/core/ccan-config.c b/core/ccan-config.c index f4edb8e..d118df0 100644 --- a/core/ccan-config.c +++ b/core/ccan-config.c @@ -469,7 +469,8 @@ static bool run_test(const char *cmd, struct test *test) fclose(outf); if (verbose > 1) - if (system("cat " INPUT_FILE) == -1); + if (system("cat " INPUT_FILE) == -1) + ; if (test->link) { char *newcmd; diff --git a/util/keys.c b/util/keys.c index 2026bad..398c512 100644 --- a/util/keys.c +++ b/util/keys.c @@ -41,6 +41,9 @@ static void printkey(TermKeyKey *key) { ; print("%s", key->utf8); break; + case TERMKEY_TYPE_UNKNOWN_CSI: + case TERMKEY_TYPE_MOUSE: + case TERMKEY_TYPE_POSITION: case TERMKEY_TYPE_FUNCTION: break; case TERMKEY_TYPE_KEYSYM: @@ -129,6 +132,7 @@ static void printkey(TermKeyKey *key) { case TERMKEY_SYM_KPCOMMA: case TERMKEY_SYM_KPPERIOD: case TERMKEY_SYM_KPEQUALS: + default: break; } break; |
