From 7e1898bd014234c176b0c5d4d00463c70fba27b0 Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: Fri, 5 Aug 2016 12:00:55 +0000 Subject: [PATCH] ipa_pwd_extop: Fix warning declaration shadows previous local MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- daemons/ipa-slapi-plugins/ipa-pwd-extop/ipa_pwd_extop.c | 1 - 1 file changed, 1 deletion(-) 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