From 1dd75b3ce83b9adf611116d9247f7860951d8ed9 Mon Sep 17 00:00:00 2001 From: Derek Lamberti Date: Tue, 10 Dec 2019 21:23:23 +0000 Subject: IVGCVSW-4246 Clean build profiling with -Wextra Change-Id: Ieab870fa2194075433a0a26abdb13f69e1fbaaae Signed-off-by: Derek Lamberti --- src/profiling/test/ProfilingTests.hpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/profiling/test/ProfilingTests.hpp') diff --git a/src/profiling/test/ProfilingTests.hpp b/src/profiling/test/ProfilingTests.hpp index cfac691cff..208fb80865 100644 --- a/src/profiling/test/ProfilingTests.hpp +++ b/src/profiling/test/ProfilingTests.hpp @@ -75,7 +75,12 @@ public: void Close() override {} - bool WritePacket(const unsigned char* buffer, uint32_t length) override { return false; } + bool WritePacket(const unsigned char* buffer, uint32_t length) override + { + boost::ignore_unused(buffer, length); + + return false; + } Packet ReadPacket(uint32_t timeout) override { @@ -134,6 +139,7 @@ public: Packet ReadPacket(uint32_t timeout) override { + boost::ignore_unused(timeout); ++m_ReadRequests; throw armnn::Exception("Simulate a non-timeout error"); } @@ -156,6 +162,7 @@ public: void operator()(const Packet& packet) override { + boost::ignore_unused(packet); m_Count++; } -- cgit v1.2.1