Commit 4f6fc267 authored by Max Kellermann's avatar Max Kellermann

AllCommands: remove redundant initializer

parent c7da1821
......@@ -360,7 +360,7 @@ command_process(Client &client, unsigned num, char *line)
Tokenizer tokenizer(line);
char *argv[COMMAND_ARGV_MAX] = { nullptr };
char *argv[COMMAND_ARGV_MAX];
argv[0] = tokenizer.NextWord(error);
if (argv[0] == nullptr) {
current_command = "";
......
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