From 26d881a93cbc07bb2000dce6408317ba969aeb99 Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Sun, 20 Nov 2011 13:52:07 +0100 Subject: [PATCH] Fix uninitialized variable in ldapmodify. Introduced by 3a46af398cf69b0e84147e2421e555f5c5c83856. --- clients/tools/ldapmodify.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/tools/ldapmodify.c b/clients/tools/ldapmodify.c index 70d2319265..2f0edf9239 100644 --- a/clients/tools/ldapmodify.c +++ b/clients/tools/ldapmodify.c @@ -216,7 +216,7 @@ main( int argc, char **argv ) { char *rbuf = NULL, *rejbuf = NULL; FILE *rejfp; - struct LDIFFP *ldiffp, ldifdummy = {0}; + struct LDIFFP *ldiffp = NULL, ldifdummy = {0}; char *matched_msg, *error_msg; int rc, retval, ldifrc; int len; -- 2.39.5