diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-16 16:55:18 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-16 16:55:18 -0400 |
commit | d0a664d102bb0886dbaf844b6857749f70702ea3 (patch) | |
tree | 4994ad85c9c743ed13346ba94daea47a389a9bfd /test/unit | |
parent | 32e2d58d4372f34726b4de59e3b0cdc0540ad474 (diff) | |
download | fork-ledger-d0a664d102bb0886dbaf844b6857749f70702ea3.tar.gz fork-ledger-d0a664d102bb0886dbaf844b6857749f70702ea3.tar.bz2 fork-ledger-d0a664d102bb0886dbaf844b6857749f70702ea3.zip |
Fixed several unused value and param warnings
Diffstat (limited to 'test/unit')
-rw-r--r-- | test/unit/t_balance.cc | 1 | ||||
-rw-r--r-- | test/unit/t_commodity.cc | 6 | ||||
-rw-r--r-- | test/unit/t_expr.cc | 1 | ||||
-rw-r--r-- | test/unit/t_times.cc | 2 | ||||
-rw-r--r-- | test/unit/t_utils.cc | 3 |
5 files changed, 0 insertions, 13 deletions
diff --git a/test/unit/t_balance.cc b/test/unit/t_balance.cc index 78a3a3fc..93d97d6a 100644 --- a/test/unit/t_balance.cc +++ b/test/unit/t_balance.cc @@ -26,5 +26,4 @@ void BalanceTestCase::tearDown() void BalanceTestCase::testConstructors() { - int x = 1; } diff --git a/test/unit/t_commodity.cc b/test/unit/t_commodity.cc index 8f57f51a..80e51bcd 100644 --- a/test/unit/t_commodity.cc +++ b/test/unit/t_commodity.cc @@ -102,19 +102,13 @@ void CommodityTestCase::testPriceHistory() void CommodityTestCase::testLots() { - // jww (2007-04-17): tbd - int x = 1; } void CommodityTestCase::testScalingBase() { - // jww (2007-04-17): tbd - int x = 1; } void CommodityTestCase::testReduction() { - // jww (2007-04-17): tbd - int x = 1; } diff --git a/test/unit/t_expr.cc b/test/unit/t_expr.cc index f9096cc5..57aec44b 100644 --- a/test/unit/t_expr.cc +++ b/test/unit/t_expr.cc @@ -18,5 +18,4 @@ void ValueExprTestCase::tearDown() void ValueExprTestCase::testConstructors() { - int x = 1; } diff --git a/test/unit/t_times.cc b/test/unit/t_times.cc index f593eeac..af0f1414 100644 --- a/test/unit/t_times.cc +++ b/test/unit/t_times.cc @@ -7,10 +7,8 @@ using namespace ledger; CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(DateTimeTestCase, "util"); void DateTimeTestCase::setUp() { - int x = 1; } void DateTimeTestCase::tearDown() { - int x = 1; } void DateTimeTestCase::testConstructors() diff --git a/test/unit/t_utils.cc b/test/unit/t_utils.cc index 3c32cf78..07be2815 100644 --- a/test/unit/t_utils.cc +++ b/test/unit/t_utils.cc @@ -3,13 +3,10 @@ CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(UtilitiesTestCase, "util"); void UtilitiesTestCase::setUp() { - int x = 1; } void UtilitiesTestCase::tearDown() { - int x = 1; } void UtilitiesTestCase::testConstructors() { - int x = 1; } |