summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/cmd-confirm-before.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2013-03-22 15:50:42 +0000
committernicm <nicm@openbsd.org>2013-03-22 15:50:42 +0000
commitc225004cbf2b1aa9fd1f48f42f3bc25442c7f88f (patch)
tree03d43d4d91539ce95e71c7c2d0961fd52147dfea /usr.bin/tmux/cmd-confirm-before.c
parentThis has no reason to pull in machine/param.h (diff)
downloadwireguard-openbsd-c225004cbf2b1aa9fd1f48f42f3bc25442c7f88f.tar.xz
wireguard-openbsd-c225004cbf2b1aa9fd1f48f42f3bc25442c7f88f.zip
Remove unnecessary initializers of cmd_ctx.
Diffstat (limited to 'usr.bin/tmux/cmd-confirm-before.c')
-rw-r--r--usr.bin/tmux/cmd-confirm-before.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.bin/tmux/cmd-confirm-before.c b/usr.bin/tmux/cmd-confirm-before.c
index 7c3ca0ab87d..6d8ae58164e 100644
--- a/usr.bin/tmux/cmd-confirm-before.c
+++ b/usr.bin/tmux/cmd-confirm-before.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd-confirm-before.c,v 1.15 2013/03/22 15:49:55 nicm Exp $ */
+/* $OpenBSD: cmd-confirm-before.c,v 1.16 2013/03/22 15:50:42 nicm Exp $ */
/*
* Copyright (c) 2009 Tiago Cunha <me@tiagocunha.org>
@@ -126,10 +126,7 @@ cmd_confirm_before_callback(void *data, const char *s)
}
ctx = cmd_get_ctx();
- ctx->msgdata = NULL;
ctx->curclient = c;
- ctx->cmdclient = NULL;
-
ctx->error = key_bindings_error;
ctx->print = key_bindings_print;
ctx->info = key_bindings_info;