aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-11-18 21:51:26 +0100
committerMax Kellermann <max@duempel.org>2008-11-18 21:51:26 +0100
commit17a8acbf69f4c6649f274ab506a0bb01c00b7a1a (patch)
tree4258b841033bf4aa20792e0ce422e364799af070
parentc985ba258d95fb267e35a96e92eb6f8461b83668 (diff)
downloadmpd-17a8acbf69f4c6649f274ab506a0bb01c00b7a1a.tar.gz
mpd-17a8acbf69f4c6649f274ab506a0bb01c00b7a1a.tar.xz
mpd-17a8acbf69f4c6649f274ab506a0bb01c00b7a1a.zip
screen_browser: eliminated local variable "entity"
"entity" is not being used after its initial assignment.
Diffstat (limited to '')
-rw-r--r--src/screen_browser.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/screen_browser.c b/src/screen_browser.c
index bcf749ed7..b5ce64171 100644
--- a/src/screen_browser.c
+++ b/src/screen_browser.c
@@ -57,12 +57,10 @@ static void
set_highlight(mpdclient_filelist_t *fl, mpd_Song *song, int highlight)
{
struct filelist_entry *entry = filelist_find_song(fl, song);
- mpd_InfoEntity *entity;
if (entry == NULL)
return;
- entity = entry->entity;
if (highlight)
entry->flags |= HIGHLIGHT;
else