summaryrefslogtreecommitdiff
path: root/source4/lib/registry/reg_backend_rpc
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2004-09-08 12:41:12 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:58:35 -0500
commit9c69fe6522289c154505beea554426b0bf308e06 (patch)
tree58f0dfd61f956b9c6ed944a18827799ab5d1b299 /source4/lib/registry/reg_backend_rpc
parent3f7bf05f75c050c5132168b7eea6a346abfb482c (diff)
downloadsamba-9c69fe6522289c154505beea554426b0bf308e06.tar.gz
samba-9c69fe6522289c154505beea554426b0bf308e06.tar.bz2
samba-9c69fe6522289c154505beea554426b0bf308e06.zip
r2254: Fix a couple of compiler warnings...
(This used to be commit 8056f4a9a7f5065eeb3a3bec81977c5e4163bf8e)
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;