summaryrefslogtreecommitdiff
path: root/source3/lib/netapi
diff options
context:
space:
mode:
authorAnoop C S <achiraya@redhat.com>2015-03-26 14:05:19 +0530
committerMichael Adam <obnox@samba.org>2015-03-26 17:30:27 +0100
commitb0a9a69bccd5a2c802c622fe7201212bcd3a6ac6 (patch)
treefc202a02e5dad2e03ae206124c4b05b24e4b7e24 /source3/lib/netapi
parentfbb2d4929f90aec862b963d224aeb586aae33c64 (diff)
downloadsamba-b0a9a69bccd5a2c802c622fe7201212bcd3a6ac6.tar.gz
libnetapi: Fix 241166 Fixing logically dead code
Signed-off-by: Anoop C S <achiraya@redhat.com> Reviewed-by: Guenther Deschner <gd@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Thu Mar 26 17:30:27 CET 2015 on sn-devel-104
Diffstat (limited to 'source3/lib/netapi')
-rw-r--r--source3/lib/netapi/user.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source3/lib/netapi/user.c b/source3/lib/netapi/user.c
index 63240844e87..bb598beab64 100644
--- a/source3/lib/netapi/user.c
+++ b/source3/lib/netapi/user.c
@@ -1201,9 +1201,6 @@ static NTSTATUS libnetapi_samr_lookup_user_map_USER_INFO(TALLOC_CTX *mem_ctx,
}
switch (level) {
- case 0:
- /* already returned above */
- break;
case 1:
status = info21_to_USER_INFO_1(mem_ctx, info21, &info1);
NT_STATUS_NOT_OK_RETURN(status);