Avoid use of uninitialized variable, from Thomas Adam.

pull/1/head
nicm 2014-02-12 20:26:13 +00:00
parent c52548f6fd
commit 325396046a
1 changed files with 1 additions and 1 deletions

View File

@ -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;