summaryrefslogtreecommitdiff
path: root/source3/nsswitch/idmap_rid.c
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2006-12-12 15:16:26 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:16:26 -0500
commit7165944469a7d3a249ac070cd702f9b812be4bae (patch)
treec7ef644b708aed14a762afbb61dfe52cfc56b2ed /source3/nsswitch/idmap_rid.c
parent79416a522681f7384a42bd69c8a02e94616610a1 (diff)
downloadsamba-7165944469a7d3a249ac070cd702f9b812be4bae.tar.gz
samba-7165944469a7d3a249ac070cd702f9b812be4bae.tar.bz2
samba-7165944469a7d3a249ac070cd702f9b812be4bae.zip
r20118: Fix some more warnings
(This used to be commit b6db21ff65139f45a1789105241e4018b61ca472)
Diffstat (limited to 'source3/nsswitch/idmap_rid.c')
-rw-r--r--source3/nsswitch/idmap_rid.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/nsswitch/idmap_rid.c b/source3/nsswitch/idmap_rid.c
index 55b04df9aa..0cbfd75196 100644
--- a/source3/nsswitch/idmap_rid.c
+++ b/source3/nsswitch/idmap_rid.c
@@ -20,6 +20,7 @@
*/
#include "includes.h"
+#include "winbindd.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_IDMAP
@@ -240,8 +241,6 @@ static NTSTATUS idmap_rid_sids_to_unixids(struct idmap_domain *dom, struct id_ma
static NTSTATUS idmap_rid_close(struct idmap_domain *dom)
{
- struct idmap_tdb_context *ctx;
-
if (dom->private_data) {
TALLOC_FREE(dom->private_data);
}