summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/cmd-command-prompt.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-command-prompt.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-command-prompt.c')
-rw-r--r--usr.bin/tmux/cmd-command-prompt.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.bin/tmux/cmd-command-prompt.c b/usr.bin/tmux/cmd-command-prompt.c
index 21584a20da4..46aabd4c548 100644
--- a/usr.bin/tmux/cmd-command-prompt.c
+++ b/usr.bin/tmux/cmd-command-prompt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd-command-prompt.c,v 1.22 2013/03/22 15:49:55 nicm Exp $ */
+/* $OpenBSD: cmd-command-prompt.c,v 1.23 2013/03/22 15:50:42 nicm Exp $ */
/*
* Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -185,10 +185,7 @@ cmd_command_prompt_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;