From fd76611f50b0abe5effbe4b7f7129a745115fdf9 Mon Sep 17 00:00:00 2001 From: SiCong Li Date: Wed, 9 Nov 2022 16:01:44 +0000 Subject: Fix compiler warnings in dynamic fusion Remove conflicting Padding2D from the unused comparison operator in the prototpye Resolve unused variables in release mode Resolves COMPMID-5683 Signed-off-by: SiCong Li Change-Id: I19d74c57e51e6cf64003ddcbc74227608bb866d2 Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/8590 Reviewed-by: Jakub Sujak Reviewed-by: Viet-Hoa Do Tested-by: Arm Jenkins Benchmark: Arm Jenkins Comments-Addressed: Arm Jenkins --- src/dynamic_fusion/sketch/utils/DependencyGraph.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/dynamic_fusion/sketch/utils/DependencyGraph.h') diff --git a/src/dynamic_fusion/sketch/utils/DependencyGraph.h b/src/dynamic_fusion/sketch/utils/DependencyGraph.h index 55eb4c5c77..03678defae 100644 --- a/src/dynamic_fusion/sketch/utils/DependencyGraph.h +++ b/src/dynamic_fusion/sketch/utils/DependencyGraph.h @@ -130,6 +130,7 @@ public: { ARM_COMPUTE_ERROR_ON(!try_add_operator_as_linear(op, inputs, outputs)); auto success = add_operator(op, inputs, outputs); + ARM_COMPUTE_UNUSED(success); ARM_COMPUTE_ERROR_ON(!success); } /** Add a new operator -- cgit v1.2.1