summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-05-27 07:21:37 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-05-27 07:21:37 -0700
commitc6bc88b50d3d4c2bc4d0949ada7300aad9641c6e (patch)
tree2fe20ebe9917445fe6e4601993721ce2658433fe /tests
parent3d8c0b27719ec6fd180c85608b241a53c123ca4c (diff)
downloadsubsurface-c6bc88b50d3d4c2bc4d0949ada7300aad9641c6e.tar.gz
Fix some warnings
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/testparse.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/testparse.cpp b/tests/testparse.cpp
index 9d2f4dea7..47eb952ef 100644
--- a/tests/testparse.cpp
+++ b/tests/testparse.cpp
@@ -138,7 +138,7 @@ void TestParse::testParse()
{
QCOMPARE(parseCSV(0, SUBSURFACE_TEST_DATA "/dives/test41.csv"), 0);
fprintf(stderr, "number of dives %d \n", dive_table.nr);
-
+
QCOMPARE(parseDivingLog(), 0);
fprintf(stderr, "number of dives %d \n", dive_table.nr);
@@ -157,7 +157,7 @@ void TestParse::testParseDM4()
{
QCOMPARE(sqlite3_open(SUBSURFACE_TEST_DATA "/dives/TestDiveDM4.db", &_sqlite3_handle), 0);
QCOMPARE(parse_dm4_buffer(_sqlite3_handle, 0, 0, 0, &dive_table), 0);
-
+
QCOMPARE(save_dives("./testdm4out.ssrf"), 0);
FILE_COMPARE("./testdm4out.ssrf",
SUBSURFACE_TEST_DATA "/dives/TestDiveDM4.xml");
@@ -224,10 +224,8 @@ void TestParse::testParseHUDC()
void TestParse::testParseNewFormat()
{
- struct dive *dive;
QDir dir;
QStringList filter;
- QString firstLine;
QStringList files;
/*