command: eliminate gcc warning
Argument cmd of function command_available() is not used if mpd was configured without sqlite.
This commit is contained in:
parent
48d3404727
commit
84b63c45fa
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue