aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-12-08 13:09:12 +0100
committerMax Kellermann <max@duempel.org>2014-12-08 13:09:12 +0100
commit4f6fc2675cc250a08229b3f37834424addc9bf5b (patch)
tree0221be1364fdf6b830cf25ae4056d61af952260e
parentc7da1821c35e27b357f33e003fdb08d65f4cb392 (diff)
downloadmpd-4f6fc2675cc250a08229b3f37834424addc9bf5b.tar.gz
mpd-4f6fc2675cc250a08229b3f37834424addc9bf5b.tar.xz
mpd-4f6fc2675cc250a08229b3f37834424addc9bf5b.zip
AllCommands: remove redundant initializer
-rw-r--r--src/command/AllCommands.cxx2
1 files changed, 1 insertions, 1 deletions
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 = "";