From: Hallvard Furuseth Date: Sun, 20 Nov 2011 12:52:07 +0000 (+0100) Subject: Fix uninitialized variable in ldapmodify. X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=26d881a93cbc07bb2000dce6408317ba969aeb99;p=openldap Fix uninitialized variable in ldapmodify. Introduced by 3a46af398cf69b0e84147e2421e555f5c5c83856. --- 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;