From 1140e154100f7224fb8bab55ba7fc087409f9d76 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 13 Feb 2015 15:33:42 +0100 Subject: [PATCH 1/1] bus-proxy: tell Coverity we don't care about these return values --- src/bus-proxyd/proxy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.30.2