aboutsummaryrefslogtreecommitdiffstats
path: root/src/command.c
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2006-08-06 14:41:11 +0000
committerWarren Dukes <warren.dukes@gmail.com>2006-08-06 14:41:11 +0000
commitb9f13d568a423359fdb3a4f62e0a4f00fa237611 (patch)
tree9d3648277d38b2c4b259972a81b89fac7f3c4bc7 /src/command.c
parent8e53406774e973e2a5793ccfe5069c514a82fb8a (diff)
downloadmpd-b9f13d568a423359fdb3a4f62e0a4f00fa237611.tar.gz
mpd-b9f13d568a423359fdb3a4f62e0a4f00fa237611.tar.xz
mpd-b9f13d568a423359fdb3a4f62e0a4f00fa237611.zip
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
Diffstat (limited to 'src/command.c')
-rw-r--r--src/command.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/command.c b/src/command.c
index 10e87bd80..75d537b0c 100644
--- a/src/command.c
+++ b/src/command.c
@@ -165,9 +165,6 @@ static void addCommand(char *name,
cmd->listHandler = listHandler_func;
cmd->reqPermission = reqPermission;
- assert(minargs <= maxargs);
- assert(maxargs <= COMMAND_ARGV_MAX);
-
insertInList(commandList, cmd->cmd, cmd);
}