libnetapi: Fix 241166 Fixing logically dead code
authorAnoop C S <achiraya@redhat.com>
Thu, 26 Mar 2015 08:35:19 +0000 (14:05 +0530)
committerMichael Adam <obnox@samba.org>
Thu, 26 Mar 2015 16:30:27 +0000 (17:30 +0100)
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

source3/lib/netapi/user.c

index 63240844e87cd30e7b33997e1739b7d9954bf594..bb598beab64f2f42d4352967589faeafec104924 100644 (file)
@@ -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);