Commit ed16ee30 authored by Max Kellermann's avatar Max Kellermann

command: eliminate local buffer "unknown"

parent 7338b16c
...@@ -2365,10 +2365,9 @@ static const struct command * ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment