]> git.sur5r.net Git - openldap/commitdiff
ITS#7780,#7781 fix prev commit
authorHoward Chu <hyc@openldap.org>
Thu, 18 Dec 2014 19:33:38 +0000 (19:33 +0000)
committerQuanah Gibson-Mount <quanah@openldap.org>
Sun, 21 Dec 2014 01:33:25 +0000 (19:33 -0600)
servers/slapd/overlays/constraint.c

index 9e68d3b43a23fe467fcb463b96efc47313939530..096f32aa79a225c7885c13af560b5e0a68c769af 100644 (file)
@@ -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 )) {