summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/service.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source3/smbd/service.c b/source3/smbd/service.c
index e3635d45db..60d962f3fd 100644
--- a/source3/smbd/service.c
+++ b/source3/smbd/service.c
@@ -543,9 +543,6 @@ static NTSTATUS find_forced_group(bool force_user,
bool user_must_be_member = False;
gid_t gid;
- ZERO_STRUCTP(pgroup_sid);
- *pgid = (gid_t)-1;
-
groupname = talloc_strdup(talloc_tos(), lp_force_group(snum));
if (groupname == NULL) {
DEBUG(1, ("talloc_strdup failed\n"));