aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen_browser.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-11-18 22:47:40 +0100
committerMax Kellermann <max@duempel.org>2008-11-18 22:47:40 +0100
commite6c8c3827204ca8164704eeef58d62b8903eb908 (patch)
treeacfdf30202a7c7a7194471d1fd82e25b500af762 /src/screen_browser.c
parent4eb970945e85a5f7c5ac768a44d5bca03c824b97 (diff)
downloadmpd-e6c8c3827204ca8164704eeef58d62b8903eb908.tar.gz
mpd-e6c8c3827204ca8164704eeef58d62b8903eb908.tar.xz
mpd-e6c8c3827204ca8164704eeef58d62b8903eb908.zip
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.
Diffstat (limited to 'src/screen_browser.c')
-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 63e8c1c71..be29a341a 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: