summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/registry/reg_backend_db.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source3/registry/reg_backend_db.c b/source3/registry/reg_backend_db.c
index 095393c307..716207dbaa 100644
--- a/source3/registry/reg_backend_db.c
+++ b/source3/registry/reg_backend_db.c
@@ -727,7 +727,6 @@ int regdb_fetch_keys(const char *key, REGSUBKEY_CTR *ctr)
dbret = regdb->fetch(regdb, frame, string_term_tdb_data(path), &value);
if (dbret != 0) {
- ret = 0;
goto fail;
}