summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2020-05-21 17:57:24 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-05-26 11:33:10 -0700
commitcef10454aa3fdb416728d84a2747827467e2a923 (patch)
treed36a3382b5ef4d2de7d26664ed0a3c962e0059b7 /tests
parent368719379e4cfb9b66b469a4445ed54ab1c39141 (diff)
downloadsubsurface-cef10454aa3fdb416728d84a2747827467e2a923.tar.gz
Initialize variable to silence compiler warning
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/testparse.cpp2
1 files changed, 1 insertions, 1 deletions
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);