From 81912bd3774874acb0e419fabee129d38cbfea7c Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Fri, 27 Aug 2010 21:44:00 +0000 Subject: [PATCH] Remove extraneous ber_peek_tag() call --- servers/slapd/extended.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/servers/slapd/extended.c b/servers/slapd/extended.c index 8030803eb9..a105ddfaa7 100644 --- a/servers/slapd/extended.c +++ b/servers/slapd/extended.c @@ -120,7 +120,6 @@ do_extended( ) { struct berval reqdata = {0, NULL}; - ber_tag_t tag; ber_len_t len; Debug( LDAP_DEBUG_TRACE, "%s do_extended\n", @@ -142,8 +141,6 @@ do_extended( goto done; } - tag = ber_peek_tag( op->o_ber, &len ); - if( ber_peek_tag( op->o_ber, &len ) == LDAP_TAG_EXOP_REQ_VALUE ) { if( ber_scanf( op->o_ber, "m", &reqdata ) == LBER_ERROR ) { Debug( LDAP_DEBUG_ANY, "%s do_extended: ber_scanf failed\n", -- 2.39.5