]> git.sur5r.net Git - openldap/commitdiff
Remove unused variable
authorHallvard Furuseth <hallvard@openldap.org>
Tue, 8 Jan 2008 16:49:13 +0000 (16:49 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Tue, 8 Jan 2008 16:49:13 +0000 (16:49 +0000)
servers/slapd/overlays/constraint.c

index d56d21cc7dea6f0cd5e1bd1c631723579dd8b530..b2c92f0f5c26f5e759ed555841ba6006dc2b5de9 100644 (file)
@@ -378,8 +378,6 @@ constraint_violation( constraint *c, struct berval *bv, Operation *op, SlapReply
                          STRLENOF(")(|");
 
                for (i = 0; c->attrs[i]; i++) {
-                       const char *text = NULL;
-
                        len += STRLENOF("(") +
                                   c->attrs[i]->ad_cname.bv_len +
                                   STRLENOF("=") +