mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-20 01:50:26 -05:00
Remove unused prev variable
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user