>From 5ae39a968b9b28d4c44407490228645c5c1e0764 Mon Sep 17 00:00:00 2001
From: Nathan Kinder <nkinder@redhat.com>
Date: Fri, 8 Oct 2010 14:44:18 -0700
Subject: [PATCH] Cov #16300 - Unused variable in account policy plugin

The plugin_id variable is unused in acct_inact_limit().  This
patch removes the unused variable.
---
 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 14a0512..6d9edb3 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,
-- 
1.6.2.5

