From 585d87a9590ecf64681700d70c37e5276ee8514a Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 2 May 2004 05:16:15 +0000 Subject: r442: fixed some uninitialised variables pointed out by gcc -O3 (This used to be commit ff31cfb941b77e99e648011a6b7639b2a5923a6a) --- source4/lib/ldb/tools/ldbmodify.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/lib/ldb/tools') 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) { -- cgit