diff options
Diffstat (limited to 'src/locale')
-rw-r--r-- | src/locale/keymap-util.c | 2 | ||||
-rw-r--r-- | src/locale/localectl.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/locale/keymap-util.c b/src/locale/keymap-util.c index d2f0566dbc5..d48f0b42168 100644 --- a/src/locale/keymap-util.c +++ b/src/locale/keymap-util.c @@ -691,7 +691,7 @@ int find_language_fallback(const char *lang, char **language) { } } - assert_not_reached("should not be here"); + assert_not_reached(); } int x11_convert_to_vconsole(Context *c) { diff --git a/src/locale/localectl.c b/src/locale/localectl.c index 548ac8eb2c3..0de3532f978 100644 --- a/src/locale/localectl.c +++ b/src/locale/localectl.c @@ -293,7 +293,7 @@ static int list_x11_keymaps(int argc, char **argv, void *userdata) { else if (streq(argv[0], "list-x11-keymap-options")) look_for = OPTIONS; else - assert_not_reached("Wrong parameter"); + assert_not_reached(); for (;;) { _cleanup_free_ char *line = NULL; @@ -474,7 +474,7 @@ static int parse_argv(int argc, char *argv[]) { return -EINVAL; default: - assert_not_reached("Unhandled option"); + assert_not_reached(); } return 1; |