From: Luca Boccassi Date: Wed, 8 Jul 2026 09:54:00 +0000 (+0100) Subject: sd-bus: voidify bus_match_remove call X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6248f1b7742ca112b476c0ab2af83d91a35f42c8;p=thirdparty%2Fsystemd.git sd-bus: voidify bus_match_remove call It cannot fail, just returns 0 or 1 for not found/found CID#1663675 --- diff --git a/src/libsystemd/sd-bus/bus-slot.c b/src/libsystemd/sd-bus/bus-slot.c index 4a948348917..43427119ed0 100644 --- a/src/libsystemd/sd-bus/bus-slot.c +++ b/src/libsystemd/sd-bus/bus-slot.c @@ -76,7 +76,7 @@ void bus_slot_disconnect(sd_bus_slot *slot, bool unref) { } slot->bus->match_callbacks_modified = true; - bus_match_remove(&slot->bus->match_callbacks, &slot->match_callback); + (void) bus_match_remove(&slot->bus->match_callbacks, &slot->match_callback); slot->match_callback.match_string = mfree(slot->match_callback.match_string);