summaryrefslogtreecommitdiff
path: root/source4/lib/registry/reg_backend_rpc
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/registry/reg_backend_rpc')
-rw-r--r--source4/lib/registry/reg_backend_rpc/reg_backend_rpc.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source4/lib/registry/reg_backend_rpc/reg_backend_rpc.c b/source4/lib/registry/reg_backend_rpc/reg_backend_rpc.c
index 4e6944a1e3..0d8d935a4a 100644
--- a/source4/lib/registry/reg_backend_rpc/reg_backend_rpc.c
+++ b/source4/lib/registry/reg_backend_rpc/reg_backend_rpc.c
@@ -128,8 +128,6 @@ static WERROR rpc_close_registry(REG_HANDLE *h)
static WERROR rpc_key_put_rpc_data(REG_KEY *k, struct rpc_key_data **data)
{
struct winreg_OpenKey r;
- int i;
- struct rpc_data *mydata = k->handle->backend_data;
WERROR error;
REG_KEY *hivekey;
struct rpc_key_data *mykeydata;
@@ -254,7 +252,6 @@ static WERROR rpc_get_subkey_by_index(REG_KEY *parent, int n, REG_KEY **subkey)
struct winreg_EnumKeyNameRequest keyname;
struct winreg_String classname;
struct winreg_Time tm;
- struct rpc_data *mydata = parent->handle->backend_data;
struct rpc_key_data *mykeydata = parent->backend_data;
WERROR error;
NTSTATUS status;