diff options
author | Lukas Slebodnik <lslebodn@redhat.com> | 2013-07-23 00:43:07 +0200 |
---|---|---|
committer | Martin Kosek <mkosek@redhat.com> | 2013-07-25 13:21:30 +0200 |
commit | 6782a24ff14c5029794a42acef27a21eb909201b (patch) | |
tree | 880052466e575c4b2e89ef8c06f0c8a7094e56a5 /daemons | |
parent | 905f8356472c8e7e834726821cedd32c02c1ce36 (diff) | |
download | freeipa-6782a24ff14c5029794a42acef27a21eb909201b.tar.gz freeipa-6782a24ff14c5029794a42acef27a21eb909201b.tar.xz freeipa-6782a24ff14c5029794a42acef27a21eb909201b.zip |
Remove unused variable
Variable was set, but it was not used.
Diffstat (limited to 'daemons')
-rw-r--r-- | daemons/ipa-slapi-plugins/ipa-lockout/ipa_lockout.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/daemons/ipa-slapi-plugins/ipa-lockout/ipa_lockout.c b/daemons/ipa-slapi-plugins/ipa-lockout/ipa_lockout.c index 6b5ae0454..9e903aaf1 100644 --- a/daemons/ipa-slapi-plugins/ipa-lockout/ipa_lockout.c +++ b/daemons/ipa-slapi-plugins/ipa-lockout/ipa_lockout.c @@ -668,7 +668,6 @@ static int ipalockout_preop(Slapi_PBlock *pb) int ret = LDAP_SUCCESS; unsigned long failedcount = 0; time_t time_now; - unsigned int failcnt_interval = 0; unsigned int max_fail = 0; unsigned int lockout_duration = 0; time_t last_failed = 0; @@ -737,7 +736,6 @@ static int ipalockout_preop(Slapi_PBlock *pb) failedcount = slapi_entry_attr_get_ulong(target_entry, "krbLoginFailedCount"); time_now = time(NULL); - failcnt_interval = slapi_entry_attr_get_uint(policy_entry, "krbPwdFailureCountInterval"); lockout_duration = slapi_entry_attr_get_uint(policy_entry, "krbPwdLockoutDuration"); lastfail = slapi_entry_attr_get_charptr(target_entry, "krbLastFailedAuth"); |