aboutsummaryrefslogtreecommitdiffstats
path: root/src/command.c
diff options
context:
space:
mode:
authorLaszlo Ashin <kodest@gmail.com>2009-01-24 11:13:58 +0100
committerLaszlo Ashin <kodest@gmail.com>2009-01-24 11:13:58 +0100
commit84b63c45fa486c6e4487a425778e6b889b6e62e4 (patch)
treedc73fd1ebc72cdcf892d292693070824391fb8d0 /src/command.c
parent48d3404727e78c64c58fabcc45c7dd2116ca798a (diff)
downloadmpd-84b63c45fa486c6e4487a425778e6b889b6e62e4.tar.gz
mpd-84b63c45fa486c6e4487a425778e6b889b6e62e4.tar.xz
mpd-84b63c45fa486c6e4487a425778e6b889b6e62e4.zip
command: eliminate gcc warning
Argument cmd of function command_available() is not used if mpd was configured without sqlite.
Diffstat (limited to 'src/command.c')
-rw-r--r--src/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command.c b/src/command.c
index af19b29d1..07d202155 100644
--- a/src/command.c
+++ b/src/command.c
@@ -1551,7 +1551,7 @@ static const struct command commands[] = {
static const unsigned num_commands = sizeof(commands) / sizeof(commands[0]);
static bool
-command_available(const struct command *cmd)
+command_available(G_GNUC_UNUSED const struct command *cmd)
{
#ifdef ENABLE_SQLITE
if (strcmp(cmd->cmd, "sticker") == 0)