diff options
author | Nathan Kinder <nkinder@redhat.com> | 2010-10-08 14:44:18 -0700 |
---|---|---|
committer | Nathan Kinder <nkinder@redhat.com> | 2010-10-08 14:44:18 -0700 |
commit | 5ae39a968b9b28d4c44407490228645c5c1e0764 (patch) | |
tree | 796cd22da1b9e4fb6796f1d5bb12b3329b47a112 | |
parent | e766b5a9e07666b95d8ba505bd512adccd41d8a3 (diff) | |
download | ds-master.tar.gz ds-master.tar.xz ds-master.zip |
The plugin_id variable is unused in acct_inact_limit(). This
patch removes the unused variable.
-rw-r--r-- | ldap/servers/plugins/acctpolicy/acct_plugin.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ldap/servers/plugins/acctpolicy/acct_plugin.c b/ldap/servers/plugins/acctpolicy/acct_plugin.c index 14a05123..6d9edb3c 100644 --- a/ldap/servers/plugins/acctpolicy/acct_plugin.c +++ b/ldap/servers/plugins/acctpolicy/acct_plugin.c @@ -38,10 +38,8 @@ acct_inact_limit( Slapi_PBlock *pb, char *dn, Slapi_Entry *target_entry, acctPol time_t lim_t, last_t, cur_t; int rc = 0; /* Optimistic default */ acctPluginCfg *cfg; - void *plugin_id; cfg = get_config(); - plugin_id = get_identity(); if( ( lasttimestr = get_attr_string_val( target_entry, cfg->state_attr_name ) ) != NULL ) { slapi_log_error( SLAPI_LOG_PLUGIN, PRE_PLUGIN_NAME, |