From 6248f1b7742ca112b476c0ab2af83d91a35f42c8 Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Wed, 8 Jul 2026 10:54:00 +0100 Subject: [PATCH] sd-bus: voidify bus_match_remove call It cannot fail, just returns 0 or 1 for not found/found CID#1663675 --- src/libsystemd/sd-bus/bus-slot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libsystemd/sd-bus/bus-slot.c b/src/libsystemd/sd-bus/bus-slot.c index 4a94834891..43427119ed 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);