From af121f0489b750d2ff56aae13da23099b9d51846 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Wed, 2 Jan 2002 17:02:30 +0000 Subject: [PATCH] Remove lint --- servers/slapd/value.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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) ); } -- 2.39.5