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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user