diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2020-10-24 14:59:07 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-10-25 13:58:03 -0700 |
commit | 572e2678a0c5e1a9c2a947e4a9a86f35cec125eb (patch) | |
tree | cecdeb17f61f4d582d455f56047b14e2e532c1e4 /core/import-csv.c | |
parent | 8e330f297ed31bb13ff14110a58e93bed59dcea7 (diff) | |
download | subsurface-572e2678a0c5e1a9c2a947e4a9a86f35cec125eb.tar.gz |
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 <dirk@hohndel.org>
Diffstat (limited to 'core/import-csv.c')
-rw-r--r-- | core/import-csv.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |