summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Sulfrian <alex@spline.inf.fu-berlin.de>2015-12-15 22:00:26 +0100
committertest-ldap <test-ldap@vm-accounts.spline.inf.fu-berlin.de>2015-12-15 22:06:13 +0100
commit6d9aab894fa0afe4ae635d59b9046ab1c928e2b8 (patch)
treec78603c5d16b62f3e7a8c8f36badb6164100fe05
parent381ad1fd5387755e56b225ae2ff137fd7636d467 (diff)
downloadldap-plugin-6d9aab894fa0afe4ae635d59b9046ab1c928e2b8.tar.gz
ldap-plugin-6d9aab894fa0afe4ae635d59b9046ab1c928e2b8.tar.bz2
ldap-plugin-6d9aab894fa0afe4ae635d59b9046ab1c928e2b8.zip
Remove unused variables
-rw-r--r--service_passwords.c14
1 files 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(