diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2013-10-10 12:00:25 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2013-10-10 12:00:25 +0000 |
commit | 9e0be8a77b602b99d0c76c4c144f3a26b7c4a929 (patch) | |
tree | c95d7b91be0608e071c00744c048bad94e725153 /usr.bin/tmux/cmd.c | |
parent | e4cddc1fd09a5ad8aa772b5bcf7244cc31391832 (diff) |
Remove the barely-used and unnecessary command check() function.
Diffstat (limited to 'usr.bin/tmux/cmd.c')
-rw-r--r-- | usr.bin/tmux/cmd.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/tmux/cmd.c b/usr.bin/tmux/cmd.c index 000e2ee7210..1d6783bdc0f 100644 --- a/usr.bin/tmux/cmd.c +++ b/usr.bin/tmux/cmd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd.c,v 1.85 2013/05/15 15:34:09 nicm Exp $ */ +/* $OpenBSD: cmd.c,v 1.86 2013/10/10 12:00:24 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -255,8 +255,6 @@ cmd_parse(int argc, char **argv, const char *file, u_int line, char **cause) goto usage; if (entry->args_upper != -1 && args->argc > entry->args_upper) goto usage; - if (entry->check != NULL && entry->check(args) != 0) - goto usage; cmd = xcalloc(1, sizeof *cmd); cmd->entry = entry; |