diff options
author | Max Kellermann <max@duempel.org> | 2014-02-09 08:07:43 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-02-09 08:07:43 +0100 |
commit | ac286ef734cb3d8cc59acb71096da29c6d83d690 (patch) | |
tree | 51575541010703085b359c65063cd197d884a9f8 | |
parent | b3663b5da2ebcd87f0b1cb498ddd9ea7aff6eeb5 (diff) | |
download | mpd-ac286ef734cb3d8cc59acb71096da29c6d83d690.tar.gz mpd-ac286ef734cb3d8cc59acb71096da29c6d83d690.tar.xz mpd-ac286ef734cb3d8cc59acb71096da29c6d83d690.zip |
OtherCommands: remove unnecessary nullptr check
-rw-r--r-- | src/command/OtherCommands.cxx | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/command/OtherCommands.cxx b/src/command/OtherCommands.cxx index 485e830d4..3c0b6963a 100644 --- a/src/command/OtherCommands.cxx +++ b/src/command/OtherCommands.cxx @@ -369,9 +369,6 @@ handle_idle(Client &client, idle_names = idle_get_names(); for (i = 1; i < argc; ++i) { - if (!argv[i]) - continue; - for (j = 0; idle_names[j]; ++j) { if (StringEqualsCaseASCII(argv[i], idle_names[j])) { flags |= (1 << j); |