summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcos <cos>2013-05-19 15:37:44 +0200
committercos <cos>2013-05-19 15:37:44 +0200
commit587b912c10dffae0c55bfa23055f8c7fb1d1961c (patch)
tree509b0d7734d8101c3edb16213d99495ec7587e4e
parente8ae2b75ff0a43ea8d742ea1457c69b0f00a44f7 (diff)
downloadratpoison-cr/implement_gnumber_hack.zip
Remove redundant check for NULL.cr/implement_gnumber_hack
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 fbc0c9d..d775bff 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])