From 325396046a3906de02b8697377575caaa80546b5 Mon Sep 17 00:00:00 2001 From: nicm Date: Wed, 12 Feb 2014 20:26:13 +0000 Subject: [PATCH] Avoid use of uninitialized variable, from Thomas Adam. --- cmd-switch-client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd-switch-client.c b/cmd-switch-client.c index d0544013..99a1ae64 100644 --- a/cmd-switch-client.c +++ b/cmd-switch-client.c @@ -61,7 +61,7 @@ cmd_switch_client_exec(struct cmd *self, struct cmd_q *cmdq) { struct args *args = self->args; struct client *c; - struct session *s; + struct session *s = NULL; struct winlink *wl = NULL; struct window *w = NULL; struct window_pane *wp = NULL;