Commit 84b63c45 authored by Laszlo Ashin's avatar Laszlo Ashin

command: eliminate gcc warning

Argument cmd of function command_available() is not used if mpd was configured without sqlite.
parent 48d34047
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment