diff options
author | Lukas Slebodnik <lslebodn@redhat.com> | 2016-08-05 12:00:55 +0000 |
---|---|---|
committer | Martin Basti <mbasti@redhat.com> | 2016-08-08 14:33:39 +0200 |
commit | 7e1898bd014234c176b0c5d4d00463c70fba27b0 (patch) | |
tree | e908ee0c793039f2f1bab5ac40759cc9eb311d22 /daemons | |
parent | c15ba1f9e8c7d236586d46271fce7c3950b509da (diff) | |
download | freeipa-7e1898bd014234c176b0c5d4d00463c70fba27b0.tar.gz freeipa-7e1898bd014234c176b0c5d4d00463c70fba27b0.tar.xz freeipa-7e1898bd014234c176b0c5d4d00463c70fba27b0.zip |
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>
Diffstat (limited to 'daemons')
-rw-r--r-- | daemons/ipa-slapi-plugins/ipa-pwd-extop/ipa_pwd_extop.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/daemons/ipa-slapi-plugins/ipa-pwd-extop/ipa_pwd_extop.c b/daemons/ipa-slapi-plugins/ipa-pwd-extop/ipa_pwd_extop.c index 3c2c44f61..74ddfdf87 100644 --- a/daemons/ipa-slapi-plugins/ipa-pwd-extop/ipa_pwd_extop.c +++ b/daemons/ipa-slapi-plugins/ipa-pwd-extop/ipa_pwd_extop.c @@ -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 |