From 84b63c45fa486c6e4487a425778e6b889b6e62e4 Mon Sep 17 00:00:00 2001 From: Laszlo Ashin Date: Sat, 24 Jan 2009 11:13:58 +0100 Subject: command: eliminate gcc warning Argument cmd of function command_available() is not used if mpd was configured without sqlite. --- src/command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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) -- cgit v1.2.3