From e1d747c31ac443eecc09fdf3494f718869e04958 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Thu, 8 Sep 2011 23:31:21 +0200 Subject: [PATCH] fix uninit'ed vars (ITS#7039) --- clients/tools/ldapmodify.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clients/tools/ldapmodify.c b/clients/tools/ldapmodify.c index 2d11045114..54dd379120 100644 --- a/clients/tools/ldapmodify.c +++ b/clients/tools/ldapmodify.c @@ -903,8 +903,8 @@ parse_ldif_control( char *s, *oidStart; LDAPControl *newctrl = NULL; LDAPControl **pctrls = NULL; - struct berval type, bv; - int freeval; + struct berval type, bv = BER_BVNULL; + int freeval = 0; if (ppctrls) pctrls = *ppctrls; /* OID should come first. Validate and extract it. */ -- 2.39.5