summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/tools
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/ldb/tools')
-rw-r--r--source4/lib/ldb/tools/ldbmodify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/ldb/tools/ldbmodify.c b/source4/lib/ldb/tools/ldbmodify.c
index ac32f90c3b..bc29369a5c 100644
--- a/source4/lib/ldb/tools/ldbmodify.c
+++ b/source4/lib/ldb/tools/ldbmodify.c
@@ -52,7 +52,7 @@ static void usage(void)
static int process_file(struct ldb_context *ldb, FILE *f)
{
struct ldb_ldif *ldif;
- int ret, count = 0;
+ int ret = -1, count = 0;
while ((ldif = ldif_read_file(f))) {
switch (ldif->changetype) {