From 572e2678a0c5e1a9c2a947e4a9a86f35cec125eb Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 24 Oct 2020 14:59:07 -0700 Subject: cleanup: initialize all fields This doesn't appear likely to cause an issue, but also doesn't seem wrong. Fixes CID 350734 Signed-off-by: Dirk Hohndel --- core/import-csv.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'core/import-csv.c') diff --git a/core/import-csv.c b/core/import-csv.c index a815408a8..dda4b8b79 100644 --- a/core/import-csv.c +++ b/core/import-csv.c @@ -554,6 +554,8 @@ int parse_txt_file(const char *filename, const char *csv, struct dive_table *tab cyl.type.description = "3l Mk6"; cyl.gasmix.o2.permille = 1000; cyl.manually_added = true; + cyl.bestmix_o2 = 0; + cyl.bestmix_he = 0; add_cloned_cylinder(&dive->cylinders, cyl); cyl.cylinder_use = DILUENT; -- cgit v1.2.3-70-g09d2