summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 169c8fc)
raw | patch | inline | side by side (parent: 169c8fc)
author | Max Kellermann <max@duempel.org> | |
Wed, 8 Oct 2008 10:44:45 +0000 (12:44 +0200) | ||
committer | Max Kellermann <max@duempel.org> | |
Wed, 8 Oct 2008 10:44:45 +0000 (12:44 +0200) |
A local variable was only used by the lyrics screen code. Put #ifdef
around its declaration.
around its declaration.
src/screen_browser.c | patch | blob | history |
diff --git a/src/screen_browser.c b/src/screen_browser.c
index 00965edb0e07e493f61ac4ef07d34da79525ad60..5bea9e49075158a5eb37a1d2f38e957ddd10c2ca 100644 (file)
--- a/src/screen_browser.c
+++ b/src/screen_browser.c
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: