diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/utils/net_sam.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/source3/utils/net_sam.c b/source3/utils/net_sam.c index 6e3ccfefaf..5c3f4e5b96 100644 --- a/source3/utils/net_sam.c +++ b/source3/utils/net_sam.c @@ -894,7 +894,6 @@ static int net_sam_mapunixgroup(struct net_context *c, int argc, const char **ar static NTSTATUS unmap_unix_group(const struct group *grp, GROUP_MAP *pmap) { - NTSTATUS status; GROUP_MAP map; const char *grpname; DOM_SID dom_sid; @@ -914,9 +913,7 @@ static NTSTATUS unmap_unix_group(const struct group *grp, GROUP_MAP *pmap) return NT_STATUS_UNSUCCESSFUL; } - status = pdb_delete_group_mapping_entry(dom_sid); - - return status; + return pdb_delete_group_mapping_entry(dom_sid); } static int net_sam_unmapunixgroup(struct net_context *c, int argc, const char **argv) |