summaryrefslogtreecommitdiffstats
path: root/lib/ldb
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2015-03-03 08:48:00 +0100
committerVolker Lendecke <vl@samba.org>2015-03-03 13:14:53 +0100
commit38628b1e32cb480cbd0cef57a34a9fe0216f344c (patch)
treed39fb17f31ef0f0c0f42f39c829d3d050a7e0f7e /lib/ldb
parentb3385f74db54bd8a07a0be5515151b633c067da4 (diff)
downloadsamba-38628b1e32cb480cbd0cef57a34a9fe0216f344c.tar.gz
samba-38628b1e32cb480cbd0cef57a34a9fe0216f344c.tar.xz
samba-38628b1e32cb480cbd0cef57a34a9fe0216f344c.zip
Fix the O3 developer build
Different gcc versions complain at different places Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org> Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Tue Mar 3 13:14:53 CET 2015 on sn-devel-104
Diffstat (limited to 'lib/ldb')
-rw-r--r--lib/ldb/ldb_map/ldb_map_outbound.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ldb/ldb_map/ldb_map_outbound.c b/lib/ldb/ldb_map/ldb_map_outbound.c
index 1ee2dfe12d..e755b7e442 100644
--- a/lib/ldb/ldb_map/ldb_map_outbound.c
+++ b/lib/ldb/ldb_map/ldb_map_outbound.c
@@ -635,7 +635,7 @@ static int map_subtree_select_local_list(struct ldb_module *module, void *mem_ct
/* Generate new list of subtrees */
j = 0;
for (i = 0; i < tree->u.list.num_elements; i++) {
- struct ldb_parse_tree *child;
+ struct ldb_parse_tree *child = NULL;
ret = map_subtree_select_local(module, *new, &child, tree->u.list.elements[i]);
if (ret) {
talloc_free(*new);