Remove warnings
[anna.git] / source / ldap / Session.cpp
index fdf6196..8507218 100644 (file)
@@ -69,7 +69,6 @@ throw(RuntimeException) {
   LDAP* handle = NULL;
   int aux;
   ResultCode resultCode;
-  Response* response(NULL);
 
   try {
     resultCode = ldap_initialize(&handle, a_url.c_str());
@@ -462,7 +461,6 @@ throw(RuntimeException) {
   int error = LDAP_SUCCESS;
   char **values(NULL);
   ResultCode resultCode;
-  bool isOk = true;
   response->cancelTimer();
   const int ldap_result = ldap_parse_result(handle, hmessage, &error, NULL, NULL, &values, NULL, 0);
   resultCode.setValue(ldap_result, error);
@@ -607,7 +605,6 @@ throw() {
     result->createChild("NetworkTimeout")->createAttribute("Value", getNetworkTimeout());
 
   xml::Node* requests = result->createChild("ldap.Requests");
-  const Response* response;
   const Request* request;
 
   for(const_response_iterator ii = response_begin(), maxii = response_end(); ii != maxii; ii ++) {