diff options
author | Max Kellermann <max@duempel.org> | 2008-10-08 12:44:45 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-10-08 12:44:45 +0200 |
commit | b67f06990bc841ae95942b606c49e8995672d9d2 (patch) | |
tree | 3ed030d87e6b7a3f6d367d4d87e28a905d29566a | |
parent | 169c8fc6c4b7b92b9ba32eebc90ca7b5b90d1cf9 (diff) | |
download | mpd-b67f06990bc841ae95942b606c49e8995672d9d2.tar.gz mpd-b67f06990bc841ae95942b606c49e8995672d9d2.tar.xz mpd-b67f06990bc841ae95942b606c49e8995672d9d2.zip |
screen_browser: fix warning when lyrics screen is disabled
A local variable was only used by the lyrics screen code. Put #ifdef
around its declaration.
-rw-r--r-- | src/screen_browser.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/screen_browser.c b/src/screen_browser.c index 00965edb0..5bea9e490 100644 --- a/src/screen_browser.c +++ b/src/screen_browser.c @@ -456,7 +456,9 @@ 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: |