mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-14 08:15:02 -05:00
Remove unused prev variable
This commit is contained in:
parent
f86915f15e
commit
2cead60432
@ -1493,17 +1493,13 @@ device_remove_family(struct player_command *cmd)
|
||||
{
|
||||
struct raop_device *dev;
|
||||
struct raop_device *rd;
|
||||
struct raop_device *prev;
|
||||
|
||||
dev = cmd->arg.rd;
|
||||
|
||||
prev = NULL;
|
||||
for (rd = dev_list; rd; rd = rd->next)
|
||||
{
|
||||
if (rd->id == dev->id)
|
||||
break;
|
||||
|
||||
prev = rd;
|
||||
}
|
||||
|
||||
if (!rd)
|
||||
|
Loading…
Reference in New Issue
Block a user