diff --git a/include/aidge/utils/Registrar.hpp b/include/aidge/utils/Registrar.hpp
index 4479c3202a4af8fc37fb37c0aa2f41f186d99bd2..778e32fd12eb449837cb0debcc0cefa3ca9f942a 100644
--- a/include/aidge/utils/Registrar.hpp
+++ b/include/aidge/utils/Registrar.hpp
@@ -59,7 +59,7 @@ struct Registrar {
 
     Registrar(const registrar_key& key, registrar_type func) {
         //printf("REGISTRAR: %s\n", key.c_str());
-        bool newInsert;
+        // bool newInsert;
         // std::tie(std::ignore, newInsert) = C::registry().insert(std::make_pair(key, func));
         C::registry().erase(key);
         C::registry().insert(std::make_pair(key, func));