remove overzealous asserts (wait for np to clean up his COMMAND_MAX_ARGS stuff)
git-svn-id: https://svn.musicpd.org/mpd/trunk@4575 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
parent
8e53406774
commit
b9f13d568a
@ -165,9 +165,6 @@ static void addCommand(char *name,
|
|||||||
cmd->listHandler = listHandler_func;
|
cmd->listHandler = listHandler_func;
|
||||||
cmd->reqPermission = reqPermission;
|
cmd->reqPermission = reqPermission;
|
||||||
|
|
||||||
assert(minargs <= maxargs);
|
|
||||||
assert(maxargs <= COMMAND_ARGV_MAX);
|
|
||||||
|
|
||||||
insertInList(commandList, cmd->cmd, cmd);
|
insertInList(commandList, cmd->cmd, cmd);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user