From da747ed63af41909de2d2eb7c7c4db9633dd3f4c Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Mon, 23 Nov 2009 16:04:00 +0000 Subject: [PATCH] Fix rev 1.200 commit: C90 forbids mixed declarations and code --- servers/slapd/overlays/pcache.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.39.5