]> git.sur5r.net Git - openldap/commitdiff
ITS#4870 remove lint
authorHoward Chu <hyc@openldap.org>
Tue, 19 Jun 2007 13:49:03 +0000 (13:49 +0000)
committerHoward Chu <hyc@openldap.org>
Tue, 19 Jun 2007 13:49:03 +0000 (13:49 +0000)
servers/slapd/bconfig.c

index 6e6bbdffc96872b8fbfb2344bf585efbd5c18771..4afb80426d6519cc66732a934b883b0e1ba856ae 100644 (file)
@@ -795,7 +795,6 @@ config_generic(ConfigArgs *c) {
                        if ( c->be->be_limits ) {
                                char buf[4096*3];
                                struct berval bv;
-                               int i;
 
                                for ( i=0; c->be->be_limits[i]; i++ ) {
                                        bv.bv_len = snprintf( buf, sizeof( buf ), SLAP_X_ORDERED_FMT, i );
@@ -1089,7 +1088,6 @@ config_generic(ConfigArgs *c) {
                        break;
 
                case CFG_SERVERID: {
-                       int i;
                        ServerID *si, **sip;
 
                        for ( i=0, si = sid_list, sip = &sid_list;
@@ -1151,7 +1149,6 @@ config_generic(ConfigArgs *c) {
                                cfn->c_oc_head = cfn->c_oc_tail = NULL;
                        } else {
                                ObjectClass *oc, *prev = NULL;
-                               int i;
 
                                for ( i=0, oc=cfn->c_oc_head; i<c->valx; i++) {
                                        prev = oc;
@@ -1186,7 +1183,6 @@ config_generic(ConfigArgs *c) {
                                cfn->c_at_head = cfn->c_at_tail = NULL;
                        } else {
                                AttributeType *at, *prev = NULL;
-                               int i;
 
                                for ( i=0, at=cfn->c_at_head; i<c->valx; i++) {
                                        prev = at;