summaryrefslogtreecommitdiffstats
path: root/core/equipment.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/equipment.c')
-rw-r--r--core/equipment.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/equipment.c b/core/equipment.c
index ebdff9772..c9c0539c3 100644
--- a/core/equipment.c
+++ b/core/equipment.c
@@ -343,7 +343,7 @@ void copy_cylinder_types(const struct dive *s, struct dive *d)
cylinder_t *add_empty_cylinder(struct cylinder_table *t)
{
- cylinder_t cyl = { 0 };
+ cylinder_t cyl = empty_cylinder;
cyl.type.description = strdup("");
add_to_cylinder_table(t, t->nr, cyl);
return &t->cylinders[t->nr - 1];