From 171e0d89cd5d45e515b06d8111ac1b7aeaa697cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Kuzn=C3=ADk?= Date: Mon, 1 Mar 2021 09:59:13 +0000 Subject: [PATCH] ITS#9382 ldapvc doesn't set any LDAP controls with -E --- clients/tools/ldapvc.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/clients/tools/ldapvc.c b/clients/tools/ldapvc.c index c412a4259c..04f458c149 100644 --- a/clients/tools/ldapvc.c +++ b/clients/tools/ldapvc.c @@ -93,7 +93,6 @@ handle_private_option( int i ) { switch ( i ) { char *control, *cvalue; - int crit; case 'E': /* vc extension */ if( protocol == LDAP_VERSION2 ) { fprintf( stderr, _("%s: -E incompatible with LDAPv%d\n"), @@ -105,10 +104,8 @@ handle_private_option( int i ) * [!]key[=value] parameters, e.g. -E !foo,bar=567 */ - crit = 0; cvalue = NULL; if( optarg[0] == '!' ) { - crit = 1; optarg++; }