mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-21 08:56:56 -05:00
tools: fix scan-build errors for unused variables
All cases of value stored but never read
This commit is contained in:
parent
0b5f19f1d2
commit
e1211e6a94
2 changed files with 1 additions and 3 deletions
|
|
@ -2093,7 +2093,6 @@ dump_properties(struct data *data, struct global *global,
|
|||
ind, item->key, item->value);
|
||||
|
||||
extra = NULL;
|
||||
id = -1;
|
||||
if (spa_streq(global->type, PW_TYPE_INTERFACE_Port) && spa_streq(item->key, PW_KEY_NODE_ID)) {
|
||||
id = atoi(item->value);
|
||||
if (id >= 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue