mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
avoid some useless assignments
This commit is contained in:
parent
4f60dcadc6
commit
eb93f259e0
7 changed files with 10 additions and 13 deletions
|
|
@ -296,7 +296,7 @@ static void dbus_device_object_info(void *data, uint32_t id,
|
|||
return;
|
||||
remove_object(impl, obj);
|
||||
} else if (obj == NULL) {
|
||||
if ((obj = create_object(impl, id, info)) == NULL)
|
||||
if (create_object(impl, id, info) == NULL)
|
||||
return;
|
||||
} else {
|
||||
update_object(impl, obj, info);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue