summaryrefslogtreecommitdiffstats
path: root/src/locale
diff options
context:
space:
mode:
authorLuca Boccassi <luca.boccassi@microsoft.com>2021-11-05 14:57:30 +0100
committerGitHub <noreply@github.com>2021-11-05 14:57:30 +0100
commit8389fd19d20370077f2d5601af0a089ec92ece05 (patch)
tree15402f17ca3b5fced203a7b8b3c79e8d6fe936e0 /src/locale
parentmeson-render-jinja2: use ast.literal_eval() (diff)
parentMake pager_open() return void (diff)
downloadsystemd-8389fd19d20370077f2d5601af0a089ec92ece05.tar.xz
systemd-8389fd19d20370077f2d5601af0a089ec92ece05.zip
Merge pull request #20138 from keszybz/coding-style-variable-decls
A coding style tweak and checking of sd_notify() calls and voidification of pager_open()
Diffstat (limited to 'src/locale')
-rw-r--r--src/locale/localectl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/locale/localectl.c b/src/locale/localectl.c
index bc4e37da31..b5624209dc 100644
--- a/src/locale/localectl.c
+++ b/src/locale/localectl.c
@@ -193,7 +193,7 @@ static int list_locales(int argc, char **argv, void *userdata) {
if (r < 0)
return log_error_errno(r, "Failed to read list of locales: %m");
- (void) pager_open(arg_pager_flags);
+ pager_open(arg_pager_flags);
strv_print(l);
return 0;
@@ -233,7 +233,7 @@ static int list_vconsole_keymaps(int argc, char **argv, void *userdata) {
if (r < 0)
return log_error_errno(r, "Failed to read list of keymaps: %m");
- (void) pager_open(arg_pager_flags);
+ pager_open(arg_pager_flags);
strv_print(l);
@@ -362,7 +362,7 @@ static int list_x11_keymaps(int argc, char **argv, void *userdata) {
strv_sort(list);
strv_uniq(list);
- (void) pager_open(arg_pager_flags);
+ pager_open(arg_pager_flags);
strv_print(list);
return 0;