command: eliminate local buffer "unknown"
This commit is contained in:
parent
7338b16c18
commit
ed16ee3029
@ -2365,10 +2365,9 @@ static const struct command *
|
|||||||
command_checked_lookup(struct client *client, unsigned permission,
|
command_checked_lookup(struct client *client, unsigned permission,
|
||||||
int argc, char *argv[])
|
int argc, char *argv[])
|
||||||
{
|
{
|
||||||
static char unknown[] = "";
|
|
||||||
const struct command *cmd;
|
const struct command *cmd;
|
||||||
|
|
||||||
current_command = unknown;
|
current_command = "";
|
||||||
|
|
||||||
if (argc == 0)
|
if (argc == 0)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user