]> git.sur5r.net Git - openldap/commitdiff
Cleanup prev commit
authorHoward Chu <hyc@openldap.org>
Mon, 14 Mar 2005 19:46:14 +0000 (19:46 +0000)
committerHoward Chu <hyc@openldap.org>
Mon, 14 Mar 2005 19:46:14 +0000 (19:46 +0000)
servers/slapd/result.c

index 45e399d18993b415d15519521b2970665e9f20e3..2dfc11eb75e82fee6b32497c03db555b655ef955 100644 (file)
@@ -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;
        }