diff options
author | Max Kellermann <max@duempel.org> | 2012-02-14 18:34:04 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2012-02-14 18:57:12 +0100 |
commit | ed16ee30290562f6c78ed845b4c619c4c833614b (patch) | |
tree | 464c2fabd86279894067bc0058afb047d772270f /src/command.c | |
parent | 7338b16c180a879745ecf6dcd6a7d490081dbb01 (diff) | |
download | mpd-ed16ee30290562f6c78ed845b4c619c4c833614b.tar.gz mpd-ed16ee30290562f6c78ed845b4c619c4c833614b.tar.xz mpd-ed16ee30290562f6c78ed845b4c619c4c833614b.zip |
command: eliminate local buffer "unknown"
Diffstat (limited to 'src/command.c')
-rw-r--r-- | src/command.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/command.c b/src/command.c index 61f0fdd0c..2f2159e87 100644 --- a/src/command.c +++ b/src/command.c @@ -2365,10 +2365,9 @@ static const struct command * command_checked_lookup(struct client *client, unsigned permission, int argc, char *argv[]) { - static char unknown[] = ""; const struct command *cmd; - current_command = unknown; + current_command = ""; if (argc == 0) return NULL; |