summaryrefslogtreecommitdiff
path: root/usr.bin/tmux
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2013-10-11 08:06:04 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2013-10-11 08:06:04 +0000
commit3b764abaa6808c134b7cd3d5fafe6946ac3d7e5d (patch)
tree9760bf330f5d696c8564d627b2d9416f77333445 /usr.bin/tmux
parent841af4a12caa444e544ebb3e2cd47f2539f1373d (diff)
Remove stray return, from Chris Johnsen.
Diffstat (limited to 'usr.bin/tmux')
-rw-r--r--usr.bin/tmux/cmd-unbind-key.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/tmux/cmd-unbind-key.c b/usr.bin/tmux/cmd-unbind-key.c
index 61d3389db34..a54ef6f2957 100644
--- a/usr.bin/tmux/cmd-unbind-key.c
+++ b/usr.bin/tmux/cmd-unbind-key.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd-unbind-key.c,v 1.17 2013/10/10 12:00:24 nicm Exp $ */
+/* $OpenBSD: cmd-unbind-key.c,v 1.18 2013/10/11 08:06:03 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -50,7 +50,6 @@ cmd_unbind_key_exec(struct cmd *self, struct cmd_q *cmdq)
cmdq_error(cmdq, "missing key");
return (CMD_RETURN_ERROR);
}
- return (CMD_RETURN_ERROR);
key = key_string_lookup_string(args->argv[0]);
if (key == KEYC_NONE) {
cmdq_error(cmdq, "unknown key: %s", args->argv[0]);