sd-bus: voidify bus_match_remove call

It cannot fail, just returns 0 or 1 for not found/found

CID#1663675
This commit is contained in:
Luca Boccassi
2026-07-08 10:54:04 +01:00
parent 636b173035
commit 6248f1b774
+1 -1
View File
@@ -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);