From: Kurt Zeilenga Date: Fri, 27 Aug 2010 21:44:00 +0000 (+0000) Subject: Remove extraneous ber_peek_tag() call X-Git-Tag: MIGRATION_CVS2GIT~516 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=81912bd3774874acb0e419fabee129d38cbfea7c;p=openldap Remove extraneous ber_peek_tag() call --- 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",