diff options
author | Andrew Tridgell <tridge@samba.org> | 2006-09-10 10:00:42 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:18:08 -0500 |
commit | 9adf2883efc275b359d8e50c493023c48883eef6 (patch) | |
tree | feb7808b357720d0fd535d46df45a2b43c4d2613 /source4/lib/ldb/modules/ldb_map_outbound.c | |
parent | 3cc41b70daac63fc07756d73e8fd8e89450882c4 (diff) | |
download | samba-9adf2883efc275b359d8e50c493023c48883eef6.tar.gz samba-9adf2883efc275b359d8e50c493023c48883eef6.tar.bz2 samba-9adf2883efc275b359d8e50c493023c48883eef6.zip |
r18321: fixed some warnings on AIX
(This used to be commit 449fab2c264aa50601f9a2d3310f1910ba97706b)
Diffstat (limited to 'source4/lib/ldb/modules/ldb_map_outbound.c')
-rw-r--r-- | source4/lib/ldb/modules/ldb_map_outbound.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/ldb/modules/ldb_map_outbound.c b/source4/lib/ldb/modules/ldb_map_outbound.c index 7d1649c6f5..bd30d8ca27 100644 --- a/source4/lib/ldb/modules/ldb_map_outbound.c +++ b/source4/lib/ldb/modules/ldb_map_outbound.c @@ -507,7 +507,7 @@ static int map_subtree_select_local_not(struct ldb_module *module, void *mem_ctx /* Select a list of subtrees that query attributes in the local partition */ static int map_subtree_select_local_list(struct ldb_module *module, void *mem_ctx, struct ldb_parse_tree **new, const struct ldb_parse_tree *tree) { - int i, j, ret; + int i, j, ret=0; /* Prepare new tree */ *new = talloc_memdup(mem_ctx, tree, sizeof(struct ldb_parse_tree)); @@ -630,7 +630,7 @@ static int map_subtree_collect_remote_not(struct ldb_module *module, void *mem_c /* Collect a list of subtrees that query attributes in the remote partition */ static int map_subtree_collect_remote_list(struct ldb_module *module, void *mem_ctx, struct ldb_parse_tree **new, const struct ldb_parse_tree *tree) { - int i, j, ret; + int i, j, ret=0; /* Prepare new tree */ *new = talloc_memdup(mem_ctx, tree, sizeof(struct ldb_parse_tree)); |