diff --git a/Sessions/SSHSession.m b/Sessions/SSHSession.m index 06489e476..c59e2ea8c 100644 --- a/Sessions/SSHSession.m +++ b/Sessions/SSHSession.m @@ -453,7 +453,7 @@ - (int)ssh_set_session - (void)ssh_login:(NSArray *)ids to:(struct sockaddr *)addr port:(int)port user:(const char *)user timeout:(int)timeout error:(NSError **)error { char *userauthlist = NULL; - int auth_type; + int auth_type = 0; // Set supported auth_type from server do {