From e6c8c3827204ca8164704eeef58d62b8903eb908 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 18 Nov 2008 22:47:40 +0100 Subject: [PATCH] screen_browser: always declare variable "entry" The local variable "entry" was only declared when lyrics were enabled, but it is now used by CMD_LOCATE, too. --- src/screen_browser.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/screen_browser.c b/src/screen_browser.c index 63e8c1c..be29a34 100644 --- a/src/screen_browser.c +++ b/src/screen_browser.c @@ -487,9 +487,7 @@ bool browser_cmd(struct screen_browser *browser, struct mpdclient *c, command_t cmd) { -#ifdef ENABLE_LYRICS_SCREEN struct filelist_entry *entry; -#endif switch (cmd) { case CMD_PLAY: -- 2.30.2