summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorcos <cos>2013-05-19 15:37:44 +0200
committercos <cos>2013-05-26 19:38:51 +0200
commit472a958a2ce149313239fb5eb4244f7607887b31 (patch)
tree49f26fac6a9e2c9843e7002996eb28d53b0da65a /src
parente31bb04702f6825eb9a3cd491a8b7b54c9bc8438 (diff)
downloadratpoison-472a958a2ce149313239fb5eb4244f7607887b31.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.
Diffstat (limited to 'src')
-rw-r--r--src/actions.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/actions.c b/src/actions.c
index ee3efc9..20f4063 100644
--- a/src/actions.c
+++ b/src/actions.c
@@ -5087,14 +5087,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])