summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2013-07-09 21:55:04 +0200
committerMartin Kosek <mkosek@redhat.com>2013-07-15 15:40:43 +0200
commit5db5d168d9ce4a0151328fbdeb63cac7516f60f4 (patch)
tree7944ec47c1476fcc149338bf5db1fd3d1ebdefda
parent689399fce930fb9d28ca81dfffbad411d12186e3 (diff)
downloadfreeipa-5db5d168d9ce4a0151328fbdeb63cac7516f60f4.zip
freeipa-5db5d168d9ce4a0151328fbdeb63cac7516f60f4.tar.gz
freeipa-5db5d168d9ce4a0151328fbdeb63cac7516f60f4.tar.xz
Remove unused variable
-rw-r--r--daemons/ipa-slapi-plugins/ipa-lockout/ipa_lockout.c4
-rw-r--r--daemons/ipa-slapi-plugins/ipa-winsync/ipa-winsync-config.c1
2 files changed, 0 insertions, 5 deletions
diff --git a/daemons/ipa-slapi-plugins/ipa-lockout/ipa_lockout.c b/daemons/ipa-slapi-plugins/ipa-lockout/ipa_lockout.c
index fcd4d30..0b3b841 100644
--- a/daemons/ipa-slapi-plugins/ipa-lockout/ipa_lockout.c
+++ b/daemons/ipa-slapi-plugins/ipa-lockout/ipa_lockout.c
@@ -232,7 +232,6 @@ int ipalockout_getpolicy(Slapi_Entry *target_entry, Slapi_Entry **policy_entry,
char **errstr)
{
int ldrc = 0;
- int flags = 0;
int type_name_disposition = 0;
Slapi_DN *pdn = NULL;
@@ -415,7 +414,6 @@ static int ipalockout_postop(Slapi_PBlock *pb)
char *lastfail = NULL;
int tries = 0;
int failure = 1;
- int type_name_disposition = 0;
char *actual_type_name = NULL;
int attr_free_flags = 0;
Slapi_ValueSet *values = NULL;
@@ -665,7 +663,6 @@ static int ipalockout_preop(Slapi_PBlock *pb)
Slapi_Entry *target_entry = NULL;
Slapi_Entry *policy_entry = NULL;
Slapi_DN *sdn = NULL;
- Slapi_DN *pdn = NULL;
Slapi_Value *objectclass = NULL;
char *errstr = NULL;
int ldrc = 0;
@@ -678,7 +675,6 @@ static int ipalockout_preop(Slapi_PBlock *pb)
time_t last_failed = 0;
char *lastfail = NULL;
char *unlock_time = NULL;
- int type_name_disposition = 0;
char *actual_type_name = NULL;
int attr_free_flags = 0;
Slapi_ValueSet *values = NULL;
diff --git a/daemons/ipa-slapi-plugins/ipa-winsync/ipa-winsync-config.c b/daemons/ipa-slapi-plugins/ipa-winsync/ipa-winsync-config.c
index ae7adec..65ceaea 100644
--- a/daemons/ipa-slapi-plugins/ipa-winsync/ipa-winsync-config.c
+++ b/daemons/ipa-slapi-plugins/ipa-winsync/ipa-winsync-config.c
@@ -853,7 +853,6 @@ ipa_winsync_config_refresh_domain(
int loopdone = 0;
int search_scope = LDAP_SCOPE_SUBTREE;
int ret = LDAP_SUCCESS;
- Slapi_Value *sv = NULL;
int acct_disable;
char *inactivated_filter = NULL;
char *activated_filter = NULL;