From: Lennart Poettering Date: Fri, 13 Feb 2015 14:33:42 +0000 (+0100) Subject: bus-proxy: tell Coverity we don't care about these return values X-Git-Tag: v219~44 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=1140e154100f7224fb8bab55ba7fc087409f9d76;p=elogind.git bus-proxy: tell Coverity we don't care about these return values --- diff --git a/src/bus-proxyd/proxy.c b/src/bus-proxyd/proxy.c index 0b8c44875..fb2409233 100644 --- a/src/bus-proxyd/proxy.c +++ b/src/bus-proxyd/proxy.c @@ -431,7 +431,7 @@ static int process_policy_unlocked(sd_bus *from, sd_bus *to, sd_bus_message *m, return 0; /* The message came from the kernel, and is sent to our legacy client. */ - sd_bus_creds_get_well_known_names(&m->creds, &sender_names); + (void) sd_bus_creds_get_well_known_names(&m->creds, &sender_names); (void) sd_bus_creds_get_euid(&m->creds, &sender_uid); (void) sd_bus_creds_get_egid(&m->creds, &sender_gid); @@ -492,7 +492,7 @@ static int process_policy_unlocked(sd_bus *from, sd_bus *to, sd_bus_message *m, if (r < 0) return handle_policy_error(m, r); - sd_bus_creds_get_well_known_names(destination_creds, &destination_names); + (void) sd_bus_creds_get_well_known_names(destination_creds, &destination_names); (void) sd_bus_creds_get_euid(destination_creds, &destination_uid); (void) sd_bus_creds_get_egid(destination_creds, &destination_gid);