summaryrefslogtreecommitdiffstats
path: root/core/parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/parse.c')
-rw-r--r--core/parse.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/parse.c b/core/parse.c
index 30d6a8ad5..56e5928fc 100644
--- a/core/parse.c
+++ b/core/parse.c
@@ -298,8 +298,7 @@ void cylinder_end(struct parser_state *state)
void ws_start(struct parser_state *state)
{
- weightsystem_t w = { {0}, "" };
- add_cloned_weightsystem(&state->cur_dive->weightsystems, w);
+ add_cloned_weightsystem(&state->cur_dive->weightsystems, empty_weightsystem);
}
void ws_end(struct parser_state *state)