From 902494b432d93fbd6203132c5df81cfd32f6635d Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Mon, 14 Mar 2005 19:46:14 +0000 Subject: [PATCH] Cleanup prev commit --- servers/slapd/result.c | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/servers/slapd/result.c b/servers/slapd/result.c index 45e399d189..2dfc11eb75 100644 --- a/servers/slapd/result.c +++ b/servers/slapd/result.c @@ -465,8 +465,7 @@ cleanup:; clean2:; if ( op->o_callback ) { int first = 1; - slap_callback *sc = op->o_callback, - *sc_next = op->o_callback; + slap_callback *sc = op->o_callback, *sc_next; for ( sc_next = op->o_callback; sc_next; op->o_callback = sc_next) { sc_next = op->o_callback->sc_next; @@ -478,7 +477,6 @@ clean2:; } first = 0; } - op->o_callback = sc; } @@ -1197,8 +1195,7 @@ slap_send_search_entry( Operation *op, SlapReply *rs ) error_return:; if ( op->o_callback ) { int first = 1; - slap_callback *sc = op->o_callback, - *sc_next = op->o_callback; + slap_callback *sc = op->o_callback, *sc_next; for ( sc_next = op->o_callback; sc_next; op->o_callback = sc_next) { sc_next = op->o_callback->sc_next; @@ -1210,7 +1207,6 @@ error_return:; } first = 0; } - op->o_callback = sc; } @@ -1386,8 +1382,7 @@ slap_send_search_reference( Operation *op, SlapReply *rs ) rel: if ( op->o_callback ) { int first = 1; - slap_callback *sc = op->o_callback, - *sc_next = op->o_callback; + slap_callback *sc = op->o_callback, *sc_next; for ( sc_next = op->o_callback; sc_next; op->o_callback = sc_next) { sc_next = op->o_callback->sc_next; @@ -1399,7 +1394,6 @@ rel: } first = 0; } - op->o_callback = sc; } -- 2.39.5