command: eliminate gcc warning

Argument cmd of function command_available() is not used if mpd was
configured without sqlite.
This commit is contained in:
Laszlo Ashin 2009-01-24 11:13:58 +01:00
parent 48d3404727
commit 84b63c45fa
1 changed files with 1 additions and 1 deletions

View File

@ -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)