tests: resolve ASan error in ManagementTool tests

resolve unused lambda capture errors in newer versions of clang

Change-Id: If03c0a8387ddc35f9999dfbdd3ba474e4387b01b
diff --git a/tests/unit/clients/iterative-query-controller.cpp b/tests/unit/clients/iterative-query-controller.cpp
index 65ab32b..3f51baa 100644
--- a/tests/unit/clients/iterative-query-controller.cpp
+++ b/tests/unit/clients/iterative-query-controller.cpp
@@ -91,7 +91,7 @@
       hasDataBack = true;
       BOOST_CHECK(true);
     },
-    [&hasDataBack] (uint32_t errCode, const std::string& errMsg) {
+    [] (uint32_t errCode, const std::string& errMsg) {
       BOOST_CHECK(false);
     },
     consumerFace);