From: Howard Chu Date: Sat, 1 Dec 2007 11:44:18 +0000 (+0000) Subject: Trim unneeded tmp var X-Git-Tag: OPENLDAP_REL_ENG_2_4_9~20^2~370 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=60c0a68249a4e144dd34df0e93242017624e5bfb;p=openldap Trim unneeded tmp var --- diff --git a/servers/slapd/schema_init.c b/servers/slapd/schema_init.c index 9ac07b326e..fa75175acc 100644 --- a/servers/slapd/schema_init.c +++ b/servers/slapd/schema_init.c @@ -2173,7 +2173,7 @@ integerIndexer( void *ctx ) { char ibuf[64]; - struct berval iv, itmp; + struct berval itmp; BerVarray keys; int i, rc; @@ -2204,8 +2204,7 @@ integerIndexer( itmp.bv_val = slap_sl_realloc( itmp.bv_val, itmp.bv_len, ctx ); } } - iv = itmp; - rc = integerVal2Key( &values[i], &keys[i], &iv ); + rc = integerVal2Key( &values[i], &keys[i], &itmp ); if ( rc ) goto leave; }