pam_systemd: remove unused null check
username was already checked with isempty() and cannot be null at this point. CID#1237766
This commit is contained in:
@@ -114,7 +114,7 @@ static int get_user_data(
|
||||
}
|
||||
|
||||
*ret_pw = pw;
|
||||
*ret_username = username ? username : pw->pw_name;
|
||||
*ret_username = username;
|
||||
|
||||
return PAM_SUCCESS;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user