s4:torture/winreg.c - remove unreachable code
authorMatthias Dieter Wallnöfer <mdw@samba.org>
Sat, 31 Jul 2010 18:58:47 +0000 (20:58 +0200)
committerMatthias Dieter Wallnöfer <mdw@samba.org>
Sat, 31 Jul 2010 18:58:47 +0000 (20:58 +0200)
source4/torture/rpc/winreg.c

index c47c15588c1ea8ae583d11a5edff5a2cd7bbcb4e..876bc5ff279b1868a3db5d5936c76fe814fe5617 100644 (file)
@@ -2678,8 +2678,6 @@ static const char *kernel_mode_registry_path(struct torture_context *tctx,
                torture_warning(tctx, "unsupported hkey: 0x%08x\n", hkey);
                return NULL;
        }
-
-       return NULL;
 }
 
 static bool test_symlink_keys(struct torture_context *tctx,