From: Max Kellermann Date: Tue, 18 Nov 2008 20:51:26 +0000 (+0100) Subject: screen_browser: eliminated local variable "entity" X-Git-Tag: v0.12_beta1~46 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=17a8acbf69f4c6649f274ab506a0bb01c00b7a1a;p=ncmpc.git screen_browser: eliminated local variable "entity" "entity" is not being used after its initial assignment. --- diff --git a/src/screen_browser.c b/src/screen_browser.c index bcf749e..b5ce641 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