summaryrefslogtreecommitdiffstats
path: root/src/basic/user-util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/basic/user-util.c')
-rw-r--r--src/basic/user-util.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/basic/user-util.c b/src/basic/user-util.c
index a0a47aee4f..1cea96242e 100644
--- a/src/basic/user-util.c
+++ b/src/basic/user-util.c
@@ -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;
}