aboutsummaryrefslogtreecommitdiff
path: root/tests/Utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Utils.h')
-rw-r--r--tests/Utils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/Utils.h b/tests/Utils.h
index f26507d1a0..ea70fffe3a 100644
--- a/tests/Utils.h
+++ b/tests/Utils.h
@@ -805,6 +805,8 @@ inline void sync_tensor_if_necessary(TensorType &tensor)
t.map();
t.unmap();
}
+#else /* ARM_COMPUTE_GC */
+ ARM_COMPUTE_UNUSED(tensor);
#endif /* ARM_COMPUTE_GC */
}
} // namespace test