mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-07-29 23:58:23 -05:00
ipa_pwd_extop: Fix warning declaration shadows previous local
ipa_pwd_extop.c:397:19: warning: declaration of ‘target_sdn’
shadows a previous local [-Wshadow]
Slapi_DN *target_sdn;
^~~~~~~~~~
ipa_pwd_extop.c:212:16: note: shadowed declaration is here
Slapi_DN *target_sdn = NULL;
^~~~~~~~~~
Reviewed-By: Thierry Bordaz <tbordaz@redhat.com>
This commit is contained in:
committed by
Martin Basti
parent
c15ba1f9e8
commit
7e1898bd01
@@ -394,7 +394,6 @@ parse_req_done:
|
||||
|
||||
if (dn) {
|
||||
Slapi_DN *bind_sdn;
|
||||
Slapi_DN *target_sdn;
|
||||
|
||||
/* if the user changing the password is self, we must request the
|
||||
* old password and verify it matches the current one before
|
||||
|
||||
Reference in New Issue
Block a user