diff options
author | Thomas Hindoe Paaboel Andersen <phomes@gmail.com> | 2014-04-14 20:51:45 +0200 |
---|---|---|
committer | Thomas Hindoe Paaboel Andersen <phomes@gmail.com> | 2014-04-14 21:02:20 +0200 |
commit | 5706b3e78d29517680e64e984a8461e589d7721a (patch) | |
tree | f5338b1f24be81c8007858e00ad8e67794c72065 /src/cgls/cgls.c | |
parent | 2667cc25896a15f82f9f1583e80d416beb1316e1 (diff) |
cgls: avoid writing an unused value
silences a build-scan warning for the unused value in r
Diffstat (limited to 'src/cgls/cgls.c')
-rw-r--r-- | src/cgls/cgls.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cgls/cgls.c b/src/cgls/cgls.c index 1840594ff6..bec9b59260 100644 --- a/src/cgls/cgls.c +++ b/src/cgls/cgls.c @@ -215,7 +215,7 @@ int main(int argc, char *argv[]) { path = unit_dbus_path_from_name(scope); if (!path) { - r = log_oom(); + log_oom(); goto finish; } @@ -242,7 +242,7 @@ int main(int argc, char *argv[]) { root = strdup(cgroup); if (!root) { - r = log_oom(); + log_oom(); goto finish; } |