mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
pulse-server: remove unnecessary check
`spa_streq()` already checks if any of its arguments are NULL, and NULL is not considered equal to any non-NULL string, therefore the check can be removed.
This commit is contained in:
parent
caf6156e32
commit
649b33c73f
1 changed files with 1 additions and 1 deletions
|
|
@ -5132,7 +5132,7 @@ static int do_send_object_message(struct client *client, uint32_t command, uint3
|
||||||
int res = -ENOENT;
|
int res = -ENOENT;
|
||||||
|
|
||||||
spa_list_for_each(o, &manager->object_list, link) {
|
spa_list_for_each(o, &manager->object_list, link) {
|
||||||
if (o->message_object_path && spa_streq(o->message_object_path, path)) {
|
if (spa_streq(o->message_object_path, path)) {
|
||||||
if (o->message_handler)
|
if (o->message_handler)
|
||||||
res = o->message_handler(manager, o, message, params, &response);
|
res = o->message_handler(manager, o, message, params, &response);
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue