From: Hallvard Furuseth Date: Mon, 23 Nov 2009 16:04:00 +0000 (+0000) Subject: Fix rev 1.200 commit: C90 forbids mixed declarations and code X-Git-Tag: ACLCHECK_0~61 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=da747ed63af41909de2d2eb7c7c4db9633dd3f4c;p=openldap Fix rev 1.200 commit: C90 forbids mixed declarations and code --- diff --git a/servers/slapd/overlays/pcache.c b/servers/slapd/overlays/pcache.c index b10320e4a6..351d68a84a 100644 --- a/servers/slapd/overlays/pcache.c +++ b/servers/slapd/overlays/pcache.c @@ -2478,8 +2478,9 @@ pcache_response( } else if ( rs->sr_err == LDAP_SIZELIMIT_EXCEEDED && si->qtemp->limitttl ) { - si->caching_reason = PC_SIZELIMIT; Entry *e; + + si->caching_reason = PC_SIZELIMIT; for (;si->head; si->head=e) { e = si->head->e_private; si->head->e_private = NULL;