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