From: Kurt Zeilenga Date: Wed, 2 Jan 2002 17:02:30 +0000 (+0000) Subject: Remove lint X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~359 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=af121f0489b750d2ff56aae13da23099b9d51846;p=openldap Remove lint --- diff --git a/servers/slapd/value.c b/servers/slapd/value.c index 556b54fc79..0a60b892ad 100644 --- a/servers/slapd/value.c +++ b/servers/slapd/value.c @@ -24,7 +24,7 @@ value_add( BVarray addvals ) { - int n, nn, i, j; + int n, nn; BVarray v2; for ( nn = 0; addvals != NULL && addvals[nn].bv_val != NULL; nn++ ) @@ -35,8 +35,9 @@ value_add( * sizeof(struct berval) ); n = 0; } else { - for ( n = 0; (*vals)[n].bv_val != NULL; n++ ) - ; /* NULL */ + for ( n = 0; (*vals)[n].bv_val != NULL; n++ ) { + ; /* Empty */ + } *vals = (BVarray) ch_realloc( (char *) *vals, (n + nn + 1) * sizeof(struct berval) ); }