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:
Lukas Slebodnik
2016-08-08 14:33:39 +02:00
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