Skip to content

Commit

Permalink
Initialize local variable before use (#1964)
Browse files Browse the repository at this point in the history
  • Loading branch information
l2dy authored Mar 11, 2024
1 parent 73d9a69 commit e4bb980
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sessions/SSHSession.m
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit e4bb980

Please sign in to comment.