From f143fba6e617267ed33acc8b3e1eb2130de0ffe0 Mon Sep 17 00:00:00 2001 From: Derek Lamberti Date: Thu, 2 Jan 2020 13:50:57 +0000 Subject: IVGCVSW-4246 Clean build of profiling with -Wextra Pt2 Change-Id: Iae306546e7c009105712f177943ed76451bbe8e7 Signed-off-by: Derek Lamberti --- src/profiling/CounterDirectory.cpp | 3 +++ src/profiling/test/SendCounterPacketTests.hpp | 3 +++ 2 files changed, 6 insertions(+) diff --git a/src/profiling/CounterDirectory.cpp b/src/profiling/CounterDirectory.cpp index 5a69e1c802..6b2a945c9c 100644 --- a/src/profiling/CounterDirectory.cpp +++ b/src/profiling/CounterDirectory.cpp @@ -9,6 +9,7 @@ #include #include +#include #include namespace armnn @@ -285,6 +286,8 @@ const Counter* CounterDirectory::RegisterCounter(const BackendId& backendId, const Optional& deviceUid, const Optional& counterSetUid) { + boost::ignore_unused(backendId); + // Check that the given parent category name is valid if (parentCategoryName.empty() || !IsValidSwTraceString(parentCategoryName)) diff --git a/src/profiling/test/SendCounterPacketTests.hpp b/src/profiling/test/SendCounterPacketTests.hpp index d0b13b59c0..6b244be0b4 100644 --- a/src/profiling/test/SendCounterPacketTests.hpp +++ b/src/profiling/test/SendCounterPacketTests.hpp @@ -14,6 +14,7 @@ #include #include +#include #include namespace armnn @@ -442,6 +443,8 @@ public: const armnn::Optional& deviceUid = armnn::EmptyOptional(), const armnn::Optional& counterSetUid = armnn::EmptyOptional()) { + boost::ignore_unused(backendId); + // Get the number of cores from the argument only uint16_t deviceCores = numberOfCores.has_value() ? numberOfCores.value() : 0; -- cgit v1.2.1