mirror of
https://github.com/tmate-io/tmate.git
synced 2025-07-14 21:14:58 +02:00
Avoid use of uninitialized variable, from Thomas Adam.
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user