summaryrefslogtreecommitdiff
path: root/src/libsystemd/sd-bus/bus-dump.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-01-14 23:16:11 +0100
committerLennart Poettering <lennart@poettering.net>2015-01-14 23:18:33 +0100
commitc7fbd99660363b74ccb3c75d280c158518bc78b3 (patch)
tree75084140300dc241b78d7ecfe50b76c5fb163752 /src/libsystemd/sd-bus/bus-dump.c
parent30535c16924a3da7b47ea87190d929d617d95c5a (diff)
sd-bus: tell Coverity that it's OK not to care for return values in some cases
Diffstat (limited to 'src/libsystemd/sd-bus/bus-dump.c')
-rw-r--r--src/libsystemd/sd-bus/bus-dump.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libsystemd/sd-bus/bus-dump.c b/src/libsystemd/sd-bus/bus-dump.c
index 33d0ed2df6..afdf52fed4 100644
--- a/src/libsystemd/sd-bus/bus-dump.c
+++ b/src/libsystemd/sd-bus/bus-dump.c
@@ -419,16 +419,16 @@ int bus_creds_dump(sd_bus_creds *c, FILE *f, bool terse) {
if (c->mask & SD_BUS_CREDS_CGROUP)
fprintf(f, "%sCGroup=%s%s%s", prefix, color, c->cgroup, suffix);
- sd_bus_creds_get_unit(c, &u);
+ (void) sd_bus_creds_get_unit(c, &u);
if (u)
fprintf(f, "%sUnit=%s%s%s", prefix, color, u, suffix);
- sd_bus_creds_get_user_unit(c, &uu);
+ (void) sd_bus_creds_get_user_unit(c, &uu);
if (uu)
fprintf(f, "%sUserUnit=%s%s%s", prefix, color, uu, suffix);
- sd_bus_creds_get_slice(c, &sl);
+ (void) sd_bus_creds_get_slice(c, &sl);
if (sl)
fprintf(f, "%sSlice=%s%s%s", prefix, color, sl, suffix);
- sd_bus_creds_get_session(c, &s);
+ (void) sd_bus_creds_get_session(c, &s);
if (s)
fprintf(f, "%sSession=%s%s%s", prefix, color, s, suffix);