command: eliminate local buffer "unknown"

This commit is contained in:
Max Kellermann 2012-02-14 18:34:04 +01:00
parent 7338b16c18
commit ed16ee3029

View File

@ -2365,10 +2365,9 @@ static const struct command *
command_checked_lookup(struct client *client, unsigned permission,
int argc, char *argv[])
{
static char unknown[] = "";
const struct command *cmd;
current_command = unknown;
current_command = "";
if (argc == 0)
return NULL;