user-util: remove dead code
The branch explicitly checks that all of these ret_ variables are NULL,
so they will never be used.
Follow-up for 83e9b584db
CID#1533239
CID#1533240
CID#1533241
This commit is contained in:
committed by
Luca Boccassi
parent
e7cbb4a137
commit
ed62937f78
@@ -280,12 +280,6 @@ int get_user_creds(
|
||||
|
||||
if (ret_uid)
|
||||
*ret_uid = u;
|
||||
if (ret_gid)
|
||||
*ret_gid = GID_INVALID;
|
||||
if (ret_home)
|
||||
*ret_home = NULL;
|
||||
if (ret_shell)
|
||||
*ret_shell = NULL;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user