mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
Cleanup: remove pointless call to get_units
This simply returns the address of prefs.units. Found by Coverity. Fixes CID 60237 Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
1c8c62ce20
commit
e89a87a2e8
1 changed files with 0 additions and 1 deletions
|
@ -22,7 +22,6 @@ void TestUnitConversion::testUnitConversions()
|
|||
QCOMPARE(IS_FP_SAME(bar_to_atm(1.013), 1.0), true);
|
||||
QCOMPARE(IS_FP_SAME(mbar_to_atm(1013), 1.0), true);
|
||||
QCOMPARE(mbar_to_PSI(1013), (int)15);
|
||||
get_units();
|
||||
}
|
||||
|
||||
QTEST_GUILESS_MAIN(TestUnitConversion)
|
||||
|
|
Loading…
Reference in a new issue