IVGCVSW-4246 Clean build profiling with -Wextra

Change-Id: Ieab870fa2194075433a0a26abdb13f69e1fbaaae
Signed-off-by: Derek Lamberti <derek.lamberti@arm.com>
diff --git a/src/profiling/ProfilingStateMachine.hpp b/src/profiling/ProfilingStateMachine.hpp
index d070744..160de71 100644
--- a/src/profiling/ProfilingStateMachine.hpp
+++ b/src/profiling/ProfilingStateMachine.hpp
@@ -7,6 +7,8 @@
 
 #include <atomic>
 
+#include <boost/core/ignore_unused.hpp>
+
 namespace armnn
 {
 
@@ -33,6 +35,7 @@
 
     bool IsOneOfStates(ProfilingState state1)
     {
+        boost::ignore_unused(state1);
         return false;
     }