From b9f13d568a423359fdb3a4f62e0a4f00fa237611 Mon Sep 17 00:00:00 2001 From: Warren Dukes Date: Sun, 6 Aug 2006 14:41:11 +0000 Subject: [PATCH] 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 --- src/command.c | 3 --- 1 file changed, 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); }