diff options
author | 2021-08-03 21:15:25 +0100 | |
---|---|---|
committer | 2021-08-03 21:15:25 +0100 | |
commit | 788733428d019791ab9d780b4778a472794b3748 (patch) | |
tree | a4a264899a594fa62810eeebe799e6749c142668 /src/locale/localectl.c | |
parent | Merge pull request #20371 from bluca/coverity (diff) | |
parent | basic/log: use appropriate glyph in log_assert_failed_unreachable() (diff) | |
download | systemd-788733428d019791ab9d780b4778a472794b3748.tar.xz systemd-788733428d019791ab9d780b4778a472794b3748.zip |
Merge pull request #20368 from keszybz/drop-assert-not-reached-text
Drop the text argument from assert_not_reached()
Diffstat (limited to 'src/locale/localectl.c')
-rw-r--r-- | src/locale/localectl.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |