summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-05-31 13:24:09 +0200
committerGünther Deschner <gd@samba.org>2011-06-01 00:29:30 +0200
commitf103e0c39f9f93b765a9cdb93a7600a1f6f06315 (patch)
tree8038484244be70fe325bcdce9b6ed0cfc4240a1a /source3/utils
parentb9a727c5f17c96138698a06e8c894387531e82b2 (diff)
downloadsamba-f103e0c39f9f93b765a9cdb93a7600a1f6f06315.tar.gz
samba-f103e0c39f9f93b765a9cdb93a7600a1f6f06315.tar.bz2
samba-f103e0c39f9f93b765a9cdb93a7600a1f6f06315.zip
s3: fix more -Wunused-but-set-variable build warnings.
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Jun 1 00:29:30 CEST 2011 on sn-devel-104
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_rpc.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c
index a3ce5316d7..849eec3a67 100644
--- a/source3/utils/net_rpc.c
+++ b/source3/utils/net_rpc.c
@@ -6501,7 +6501,6 @@ static int rpc_trustdom_vampire(struct net_context *c, int argc,
struct rpc_pipe_client *pipe_hnd = NULL;
NTSTATUS nt_status, result;
const char *domain_name = NULL;
- struct dom_sid *queried_dom_sid;
struct policy_handle connect_hnd;
union lsa_PolicyInformation *info = NULL;
@@ -6594,8 +6593,6 @@ static int rpc_trustdom_vampire(struct net_context *c, int argc,
return -1;
}
- queried_dom_sid = info->account_domain.sid;
-
/*
* Keep calling LsaEnumTrustdom over opened pipe until
* the end of enumeration is reached