diff options
author | nicm <nicm> | 2014-02-12 20:26:13 +0000 |
---|---|---|
committer | nicm <nicm> | 2014-02-12 20:26:13 +0000 |
commit | 325396046a3906de02b8697377575caaa80546b5 (patch) | |
tree | 5f9b67a5441d77578a65c0d8748dd5c8fc0f95ee /cmd-switch-client.c | |
parent | c52548f6fd311e4df3076ba4cc6f6ab8849557ac (diff) | |
download | rtmux-325396046a3906de02b8697377575caaa80546b5.tar.gz rtmux-325396046a3906de02b8697377575caaa80546b5.tar.bz2 rtmux-325396046a3906de02b8697377575caaa80546b5.zip |
Avoid use of uninitialized variable, from Thomas Adam.
Diffstat (limited to 'cmd-switch-client.c')
-rw-r--r-- | cmd-switch-client.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |