IVGCVSW-5508 Activate compiler warnings in ArmNN TfLite Delegate
Signed-off-by: Finn Williams <Finn.Williams@arm.com>
Change-Id: I1a8e2aa618ff693c61010e6150f3ca41b8ab1201
diff --git a/delegate/src/Gather.hpp b/delegate/src/Gather.hpp
index a004f2c..98d8dc9 100644
--- a/delegate/src/Gather.hpp
+++ b/delegate/src/Gather.hpp
@@ -5,6 +5,8 @@
#pragma once
+#include <armnn/utility/IgnoreUnused.hpp>
+
#include <tensorflow/lite/builtin_ops.h>
#include <tensorflow/lite/c/builtin_op_data.h>
#include <tensorflow/lite/c/common.h>
@@ -19,6 +21,12 @@
int nodeIndex,
int32_t gatherOperatorCode)
{
+ armnn::IgnoreUnused(delegateData,
+ tfLiteContext,
+ tfLiteNode,
+ nodeIndex,
+ gatherOperatorCode);
+
return kTfLiteError;
}