Initialize variable to silence compiler warning

Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
This commit is contained in:
Miika Turkia 2020-05-21 17:57:24 +03:00 committed by Dirk Hohndel
parent 368719379e
commit cef10454aa

View file

@ -371,7 +371,7 @@ int TestParse::parseCSVmanual(int units, std::string file)
void TestParse::exportCSVDiveDetails() void TestParse::exportCSVDiveDetails()
{ {
int saved_sac; int saved_sac = 0;
parse_file(SUBSURFACE_TEST_DATA "/dives/test40.xml", &dive_table, &trip_table, &dive_site_table); parse_file(SUBSURFACE_TEST_DATA "/dives/test40.xml", &dive_table, &trip_table, &dive_site_table);