summaryrefslogtreecommitdiffstats
path: root/cfg.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-08-23 16:45:00 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-08-23 16:45:00 +0000
commit43cd40e87a41d9504dcac99419c96e3cdbb81029 (patch)
treef6ec67c9e1fd7cd800ce8ef67b96633afd7cacff /cfg.c
parent1eb303e6d401c1ef2992933532eb2d7eab36cecf (diff)
The cursession member in struct cmd_ctx is always either curclient->session or
NULL when curclient is also NULL, so just eliminate it.
Diffstat (limited to 'cfg.c')
-rw-r--r--cfg.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/cfg.c b/cfg.c
index 75390165..ec2d906d 100644
--- a/cfg.c
+++ b/cfg.c
@@ -88,7 +88,6 @@ load_cfg(const char *path, char **cause)
cfg_cause = NULL;
ctx.msgdata = NULL;
- ctx.cursession = NULL;
ctx.curclient = NULL;
ctx.error = cfg_error;