From cef10454aa3fdb416728d84a2747827467e2a923 Mon Sep 17 00:00:00 2001 From: Miika Turkia Date: Thu, 21 May 2020 17:57:24 +0300 Subject: Initialize variable to silence compiler warning Signed-off-by: Miika Turkia --- tests/testparse.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/testparse.cpp b/tests/testparse.cpp index b722f34e5..7f4a9cfd1 100644 --- a/tests/testparse.cpp +++ b/tests/testparse.cpp @@ -371,7 +371,7 @@ int TestParse::parseCSVmanual(int units, std::string file) 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); -- cgit v1.2.3-70-g09d2