From: Max Kellermann Date: Tue, 18 Nov 2008 21:47:40 +0000 (+0100) Subject: screen_browser: always declare variable "entry" X-Git-Tag: v0.12_beta1~39 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e6c8c3827204ca8164704eeef58d62b8903eb908;p=ncmpc.git 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. --- 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: