s3: Remove an unused variable
[sfrench/samba-autobuild/.git] / source3 / registry / reg_api.c
index a32ad8d38a5671892e94abab6e9f4b08ce8b4c58..26a14815adaa8d7f84470c3ffef9ea69dbe41f27 100644 (file)
@@ -554,7 +554,6 @@ WERROR reg_createkey(TALLOC_CTX *ctx, struct registry_key *parent,
                     enum winreg_CreateAction *paction)
 {
        struct registry_key *key = parent;
-       struct registry_key *create_parent;
        TALLOC_CTX *mem_ctx;
        char *path, *end;
        WERROR err;