diff options
Diffstat (limited to 'source4/dsdb/samdb/ldb_modules')
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/samldb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/samldb.c b/source4/dsdb/samdb/ldb_modules/samldb.c index 62a796bd89..0c43b8dc06 100644 --- a/source4/dsdb/samdb/ldb_modules/samldb.c +++ b/source4/dsdb/samdb/ldb_modules/samldb.c @@ -145,7 +145,7 @@ static char *samldb_search_domain(struct ldb_module *module, TALLOC_CTX *mem_ctx { const char *sdn; struct ldb_message **res = NULL; - int ret; + int ret = 0; sdn = dn; while ((sdn = strchr(sdn, ',')) != NULL) { |