summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcos <cos>2013-05-19 15:37:44 +0200
committercos <cos>2013-05-25 17:31:45 +0200
commit0bd37ab4ca56a587d4768735e63095c395341c26 (patch)
treee8496b5da9f395bf55a36e3624de3fd8b4e970c9
parent3b3f081c66b88ba8de4c86a30b4374582fe62413 (diff)
downloadratpoison-0bd37ab4ca56a587d4768735e63095c395341c26.zip
Remove redundant check for NULL.
Since add_command() for cmd_gnumber is forcing one (or two) numerical argument, command() will never allow calling the cmd_gnumber() with arg[0] set to NULL.
-rw-r--r--src/actions.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/actions.c b/src/actions.c
index 692edf6..72d1507 100644
--- a/src/actions.c
+++ b/src/actions.c
@@ -5100,14 +5100,6 @@ cmd_gnumber (int interactive UNUSED, struct cmdarg **args)
struct numset *g_numset = group_get_numset();
-/* FIXME Implement this. */
-// if (args[0] == NULL)
-// {
-// /* XXX: Fix this. */
-// print_window_information (rp_current_group, current_window());
-// return cmdret_new (RET_SUCCESS, NULL);
-// }
-
/* Gather the args. */
new_number = ARG(0,number);
if (args[1])