diff --git a/libc3/set.c.in b/libc3/set.c.in
index 571c6cd..7d62110 100644
--- a/libc3/set.c.in
+++ b/libc3/set.c.in
@@ -129,6 +129,7 @@ set_init___NAME$ (s_set___NAME$ *set, uw max)
return NULL;
tmp.count = 0;
tmp.collisions = 0;
+ *set = tmp;
return set;
}
diff --git a/libc3/set__fact.c b/libc3/set__fact.c
index 9b30897..f995223 100644
--- a/libc3/set__fact.c
+++ b/libc3/set__fact.c
@@ -129,6 +129,7 @@ set_init__fact (s_set__fact *set, uw max)
return NULL;
tmp.count = 0;
tmp.collisions = 0;
+ *set = tmp;
return set;
}
diff --git a/libc3/set__tag.c b/libc3/set__tag.c
index 18a7e35..48e8f35 100644
--- a/libc3/set__tag.c
+++ b/libc3/set__tag.c
@@ -129,6 +129,7 @@ set_init__tag (s_set__tag *set, uw max)
return NULL;
tmp.count = 0;
tmp.collisions = 0;
+ *set = tmp;
return set;
}