From 8394783096c3b021a7a9d47184806af99c5afcee Mon Sep 17 00:00:00 2001
From: Maxence Naud <maxence.naud@cea.fr>
Date: Mon, 25 Sep 2023 12:57:12 +0000
Subject: [PATCH] Apply 1 suggestion(s) to 1 file(s)

---
 include/aidge/operator/Scaling.hpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/include/aidge/operator/Scaling.hpp b/include/aidge/operator/Scaling.hpp
index 114ce5c0a..e158ecd75 100644
--- a/include/aidge/operator/Scaling.hpp
+++ b/include/aidge/operator/Scaling.hpp
@@ -55,9 +55,10 @@ public:
         setDatatype(DataType::Float32);
     }
 
-    void associateInput(__attribute__((unused)) const IOIndex_t inputIdx, std::shared_ptr<Data> data) override final {
+    void associateInput(const IOIndex_t inputIdx, std::shared_ptr<Data> data) override final {
         assert(inputIdx == 0 && "operator supports only 1 input");
         assert(strcmp(data->type(), Tensor::Type)==0 && "input data must be of Tensor type");
+        (void) inputIdx; //avoid unused warning
         mInput = std::dynamic_pointer_cast<Tensor>(data);
     }
 
-- 
GitLab