summaryrefslogtreecommitdiff
path: root/source4/libnet/libnet_samsync_ldb.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-04-08 03:00:12 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:00:51 -0500
commit48bf8e2b6d5498db4c5a7ba6881c2e1dc957e49b (patch)
treef66fb542f109a8b98bd19021187f3f815e971ddd /source4/libnet/libnet_samsync_ldb.c
parent9a357370b5897e6818c40d3d4bf3b085944f3785 (diff)
downloadsamba-48bf8e2b6d5498db4c5a7ba6881c2e1dc957e49b.tar.gz
samba-48bf8e2b6d5498db4c5a7ba6881c2e1dc957e49b.tar.bz2
samba-48bf8e2b6d5498db4c5a7ba6881c2e1dc957e49b.zip
r14983: fix an uninitialised var
(This used to be commit 58ac1e4eb1a62029173118a7638dcbe7c0de1306)
Diffstat (limited to 'source4/libnet/libnet_samsync_ldb.c')
-rw-r--r--source4/libnet/libnet_samsync_ldb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libnet/libnet_samsync_ldb.c b/source4/libnet/libnet_samsync_ldb.c
index 7ef2a753fa..7211c83841 100644
--- a/source4/libnet/libnet_samsync_ldb.c
+++ b/source4/libnet/libnet_samsync_ldb.c
@@ -239,7 +239,7 @@ static NTSTATUS samsync_ldb_handle_user(TALLOC_CTX *mem_ctx,
const struct dom_sid *user_sid;
struct ldb_message *msg;
struct ldb_message **msgs;
- struct ldb_message **remote_msgs;
+ struct ldb_message **remote_msgs = NULL;
int ret, i;
uint32_t acb;
BOOL add = False;