From 6d9aab894fa0afe4ae635d59b9046ab1c928e2b8 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Tue, 15 Dec 2015 22:00:26 +0100 Subject: Remove unused variables --- service_passwords.c | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/service_passwords.c b/service_passwords.c index e515fe6..50749db 100644 --- a/service_passwords.c +++ b/service_passwords.c @@ -175,9 +175,6 @@ static int pre_bind(Slapi_PBlock *pb) struct berval *credentials; int is_replication; int is_internal; - int connId; - int opId; - long msgId; char *parent_dn; @@ -185,14 +182,11 @@ static int pre_bind(Slapi_PBlock *pb) char fn[] = "pre_bind in service_passwords plug-in"; /* Obtain the bind information from the parameter block. */ - rc |= slapi_pblock_get(pb, SLAPI_BIND_TARGET, &dn); - rc |= slapi_pblock_get(pb, SLAPI_BIND_METHOD, &method); - rc |= slapi_pblock_get(pb, SLAPI_BIND_CREDENTIALS, &credentials); - rc |= slapi_pblock_get(pb, SLAPI_OPERATION_MSGID, &msgId); - rc |= slapi_pblock_get(pb, SLAPI_CONN_ID, &connId); - rc |= slapi_pblock_get(pb, SLAPI_OPERATION_ID, &opId); + rc |= slapi_pblock_get(pb, SLAPI_BIND_TARGET, &dn); + rc |= slapi_pblock_get(pb, SLAPI_BIND_METHOD, &method); + rc |= slapi_pblock_get(pb, SLAPI_BIND_CREDENTIALS, &credentials); rc |= slapi_pblock_get(pb, SLAPI_IS_REPLICATED_OPERATION, &is_replication); - rc |= slapi_pblock_get(pb, SLAPI_IS_INTERNAL_OPERATION, &is_internal); + rc |= slapi_pblock_get(pb, SLAPI_IS_INTERNAL_OPERATION, &is_internal); if (rc != 0) { slapi_log_error( -- cgit v1.2.3-1-g7c22