From: Howard Chu Date: Thu, 18 Dec 2014 19:33:38 +0000 (+0000) Subject: ITS#7780,#7781 fix prev commit X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2930a68808ea6b14e7aaec72a002c7679430040a;p=openldap ITS#7780,#7781 fix prev commit --- diff --git a/servers/slapd/overlays/constraint.c b/servers/slapd/overlays/constraint.c index 9e68d3b43a..096f32aa79 100644 --- a/servers/slapd/overlays/constraint.c +++ b/servers/slapd/overlays/constraint.c @@ -798,7 +798,7 @@ constraint_add( Operation *op, SlapReply *rs ) BerVarray b = NULL; int i; struct berval rsv = BER_BVC("add breaks constraint"); - int rc; + int rc = 0; char *msg = NULL; if (get_relax(op) || SLAPD_SYNC_IS_SYNCCONN( op->o_connid )) {