mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
alsa: fix scan-build errors for unused variables
All cases of value stored but never read
This commit is contained in:
parent
6d19dd0162
commit
4dd886188a
4 changed files with 8 additions and 8 deletions
|
|
@ -141,7 +141,7 @@ static uint32_t get_card_id(struct impl *this, struct udev_device *dev)
|
|||
if ((str = udev_device_get_property_value(dev, "SOUND_CLASS")) && spa_streq(str, "modem"))
|
||||
return SPA_ID_INVALID;
|
||||
|
||||
if ((str = udev_device_get_property_value(dev, "SOUND_INITIALIZED")) == NULL)
|
||||
if (udev_device_get_property_value(dev, "SOUND_INITIALIZED") == NULL)
|
||||
return SPA_ID_INVALID;
|
||||
|
||||
if ((str = udev_device_get_property_value(dev, "DEVPATH")) == NULL)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue