AllCommands: remove redundant initializer
This commit is contained in:
parent
c7da1821c3
commit
4f6fc2675c
|
@ -360,7 +360,7 @@ command_process(Client &client, unsigned num, char *line)
|
||||||
|
|
||||||
Tokenizer tokenizer(line);
|
Tokenizer tokenizer(line);
|
||||||
|
|
||||||
char *argv[COMMAND_ARGV_MAX] = { nullptr };
|
char *argv[COMMAND_ARGV_MAX];
|
||||||
argv[0] = tokenizer.NextWord(error);
|
argv[0] = tokenizer.NextWord(error);
|
||||||
if (argv[0] == nullptr) {
|
if (argv[0] == nullptr) {
|
||||||
current_command = "";
|
current_command = "";
|
||||||
|
|
Loading…
Reference in New Issue