diff options
author | Luca Boccassi <luca.boccassi@microsoft.com> | 2021-11-05 13:57:30 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-05 13:57:30 +0000 |
commit | 8389fd19d20370077f2d5601af0a089ec92ece05 (patch) | |
tree | 15402f17ca3b5fced203a7b8b3c79e8d6fe936e0 /src/portable/portablectl.c | |
parent | 5f035b13deb15daab34c2b5da30fabe8600fd803 (diff) | |
parent | 384c2c3239c51b7bdaddc7cbd4958b5b923cce42 (diff) | |
download | systemd-8389fd19d20370077f2d5601af0a089ec92ece05.tar.gz |
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/portable/portablectl.c')
-rw-r--r-- | src/portable/portablectl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/portable/portablectl.c b/src/portable/portablectl.c index e601ee5d8f..60feac6f5d 100644 --- a/src/portable/portablectl.c +++ b/src/portable/portablectl.c @@ -333,7 +333,7 @@ static int inspect_image(int argc, char *argv[], void *userdata) { if (r < 0) return bus_log_parse_error(r); - (void) pager_open(arg_pager_flags); + pager_open(arg_pager_flags); if (arg_cat) { printf("%s-- OS Release: --%s\n", ansi_highlight(), ansi_normal()); @@ -1093,7 +1093,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("portablectl", "1", &link); if (r < 0) |