From 94a88d2b21d9ca3f42dc3435695be31b5591230b Mon Sep 17 00:00:00 2001 From: Derek Lamberti Date: Tue, 10 Dec 2019 21:12:59 +0000 Subject: IVGCVSW-4246 Clean build Layers with -Wextra Change-Id: I649cd2304fb0040164763d31a12fc77c6c3bed87 Signed-off-by: Derek Lamberti --- src/armnn/layers/StandInLayer.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/armnn/layers/StandInLayer.cpp') diff --git a/src/armnn/layers/StandInLayer.cpp b/src/armnn/layers/StandInLayer.cpp index 7d693bfffb..d0fc325caa 100644 --- a/src/armnn/layers/StandInLayer.cpp +++ b/src/armnn/layers/StandInLayer.cpp @@ -14,8 +14,9 @@ StandInLayer::StandInLayer(const StandInDescriptor& param, const char* name) { } -std::unique_ptr StandInLayer::CreateWorkload(const Graph& graph, const IWorkloadFactory& factory) const +std::unique_ptr StandInLayer::CreateWorkload(const IWorkloadFactory& factory) const { + boost::ignore_unused(factory); // This throws in the event that it's called. We would expect that any backend that // "claims" to support the StandInLayer type would actually substitute it with a PrecompiledLayer // during graph optimization. There is no interface on the IWorkloadFactory to create a StandInWorkload. @@ -29,6 +30,7 @@ StandInLayer* StandInLayer::Clone(Graph& graph) const std::vector StandInLayer::InferOutputShapes(const std::vector& inputShapes) const { + boost::ignore_unused(inputShapes); throw Exception("Stand in layer does not support infering output shapes"); } -- cgit v1.2.1