summaryrefslogtreecommitdiff
path: root/src/delta
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-03-14 17:48:29 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2018-03-19 21:04:02 +0900
commitee5324aa04bb46a9a8e1ad23307efa85e05879b6 (patch)
tree85cd5851f9d9139c25291f08f04307b1340e58a3 /src/delta
parent24fcd009c3eb89f590bef96dd5495fd4ef796fd0 (diff)
downloadsystemd-ee5324aa04bb46a9a8e1ad23307efa85e05879b6.tar.gz
tree-wide: voidify pager_open()
Even if pager_open() fails, in general, we should continue the operations. All erroneous cases in pager_open() show log message in the function. So, it is not necessary to check the returned value.
Diffstat (limited to 'src/delta')
-rw-r--r--src/delta/delta.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/delta/delta.c b/src/delta/delta.c
index 4fe89ff9b0..49d9f0bb03 100644
--- a/src/delta/delta.c
+++ b/src/delta/delta.c
@@ -662,7 +662,7 @@ int main(int argc, char *argv[]) {
else if (arg_diff)
arg_flags |= SHOW_OVERRIDDEN;
- pager_open(arg_no_pager, false);
+ (void) pager_open(arg_no_pager, false);
if (optind < argc) {
int i;