From 4f6fc2675cc250a08229b3f37834424addc9bf5b Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 8 Dec 2014 13:09:12 +0100 Subject: AllCommands: remove redundant initializer --- src/command/AllCommands.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/command/AllCommands.cxx b/src/command/AllCommands.cxx index d79f1e6f9..989418ea5 100644 --- a/src/command/AllCommands.cxx +++ b/src/command/AllCommands.cxx @@ -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 = ""; -- cgit v1.2.3