From 58099cc04548a627729ca41db5e3811bfc833969 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Tue, 16 May 2006 22:16:27 +0000 Subject: [PATCH] coverity cleanup --- servers/slapd/slapi/slapi_overlay.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/servers/slapd/slapi/slapi_overlay.c b/servers/slapd/slapi/slapi_overlay.c index 0fb616118f..12425f06c1 100644 --- a/servers/slapd/slapi/slapi_overlay.c +++ b/servers/slapd/slapi/slapi_overlay.c @@ -97,12 +97,14 @@ slapi_over_compute_output( { Attribute **a; AttributeDescription *desc; - SlapReply *rs = (SlapReply *)c->cac_private; + SlapReply *rs; if ( c == NULL || attribute == NULL || entry == NULL ) { return 0; } + rs = (SlapReply *)c->cac_private; + assert( rs->sr_entry == entry ); desc = attribute->a_desc; -- 2.39.5