From 43cd40e87a41d9504dcac99419c96e3cdbb81029 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Sun, 23 Aug 2009 16:45:00 +0000 Subject: The cursession member in struct cmd_ctx is always either curclient->session or NULL when curclient is also NULL, so just eliminate it. --- cmd-confirm-before.c | 1 - 1 file changed, 1 deletion(-) (limited to 'cmd-confirm-before.c') diff --git a/cmd-confirm-before.c b/cmd-confirm-before.c index fd366b9b..d0a2196a 100644 --- a/cmd-confirm-before.c +++ b/cmd-confirm-before.c @@ -122,7 +122,6 @@ cmd_confirm_before_callback(void *data, const char *s) } ctx.msgdata = NULL; - ctx.cursession = c->session; ctx.curclient = c; ctx.error = key_bindings_error; -- cgit