From ac286ef734cb3d8cc59acb71096da29c6d83d690 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 9 Feb 2014 08:07:43 +0100 Subject: OtherCommands: remove unnecessary nullptr check --- src/command/OtherCommands.cxx | 3 --- 1 file changed, 3 deletions(-) (limited to 'src') 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); -- cgit v1.2.3