summaryrefslogtreecommitdiffstats
path: root/src/home/homectl.c
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/home/homectl.c
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/home/homectl.c')
-rw-r--r--src/home/homectl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/home/homectl.c b/src/home/homectl.c
index d3605cf308..c689de5b45 100644
--- a/src/home/homectl.c
+++ b/src/home/homectl.c
@@ -613,7 +613,7 @@ static int inspect_home(int argc, char *argv[], void *userdata) {
int r, ret = 0;
char **items, **i;
- (void) pager_open(arg_pager_flags);
+ pager_open(arg_pager_flags);
r = acquire_bus(&bus);
if (r < 0)
@@ -2020,7 +2020,7 @@ static int help(int argc, char *argv[], void *userdata) {
_cleanup_free_ char *link = NULL;
int r;
- (void) pager_open(arg_pager_flags);
+ pager_open(arg_pager_flags);
r = terminal_urlify_man("homectl", "1", &link);
if (r < 0)