From b41f518dd0a387f959248f4bf822a1e3976a61db Mon Sep 17 00:00:00 2001
From: Olivier BICHLER <olivier.bichler@cea.fr>
Date: Mon, 11 Dec 2023 16:56:13 +0100
Subject: [PATCH] Fixed unused arg

---
 include/aidge/operator/Identity.hpp | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/include/aidge/operator/Identity.hpp b/include/aidge/operator/Identity.hpp
index 5f13e1d3a..50c5ef941 100644
--- a/include/aidge/operator/Identity.hpp
+++ b/include/aidge/operator/Identity.hpp
@@ -103,13 +103,11 @@ public:
         }
         return mInputs[outputIdx];
     }
-    void setBackend(const std::string& name, int device = 0) override final {
+    void setBackend(const std::string& /*name*/, int /*device*/ = 0) override final {
         // setBackend do nothing, Identity node has no backend it just pass the same Tensor
-        (void) name;
     }
-    void setDataType(const DataType& dataType) const override final {
+    void setDataType(const DataType& /*dataType*/) const override final {
         // setDatatype do nothing, Identity node has no backend it just pass the same Tensor
-        (void) dataType;
     }
 
     static const std::vector<std::string> getInputsName(){
-- 
GitLab