summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c985ba2)
raw | patch | inline | side by side (parent: c985ba2)
author | Max Kellermann <max@duempel.org> | |
Tue, 18 Nov 2008 20:51:26 +0000 (21:51 +0100) | ||
committer | Max Kellermann <max@duempel.org> | |
Tue, 18 Nov 2008 20:51:26 +0000 (21:51 +0100) |
"entity" is not being used after its initial assignment.
src/screen_browser.c | patch | blob | history |
diff --git a/src/screen_browser.c b/src/screen_browser.c
index bcf749ed7bd67ebd3322c84145e04afcaed364d5..b5ce64171721baec8d445eb660313eb5ea8a41cb 100644 (file)
--- a/src/screen_browser.c
+++ b/src/screen_browser.c
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