From d0a664d102bb0886dbaf844b6857749f70702ea3 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 16 Feb 2009 16:55:18 -0400 Subject: Fixed several unused value and param warnings --- test/unit/t_balance.cc | 1 - test/unit/t_commodity.cc | 6 ------ test/unit/t_expr.cc | 1 - test/unit/t_times.cc | 2 -- test/unit/t_utils.cc | 3 --- 5 files changed, 13 deletions(-) (limited to 'test') 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; } -- cgit v1.2.3