summaryrefslogtreecommitdiff
path: root/test/unit/t_balance.cc
diff options
context:
space:
mode:
authorAlexis Hildebrandt <afh@surryhill.net>2015-01-11 09:38:24 +0100
committerAlexis Hildebrandt <afh@surryhill.net>2015-01-11 09:38:24 +0100
commitce903c1a5e1275dbb7a2dba58c8a3eccd5a8f034 (patch)
treef70d11e2c0fca31d8af99dae918765646c883d1d /test/unit/t_balance.cc
parent78858382a56b43a9172869f8e8abc9dd8a8bc982 (diff)
downloadfork-ledger-ce903c1a5e1275dbb7a2dba58c8a3eccd5a8f034.tar.gz
fork-ledger-ce903c1a5e1275dbb7a2dba58c8a3eccd5a8f034.tar.bz2
fork-ledger-ce903c1a5e1275dbb7a2dba58c8a3eccd5a8f034.zip
[tests] Fix compiler warning
Diffstat (limited to 'test/unit/t_balance.cc')
-rw-r--r--test/unit/t_balance.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/unit/t_balance.cc b/test/unit/t_balance.cc
index c4ec2f31..b503d02a 100644
--- a/test/unit/t_balance.cc
+++ b/test/unit/t_balance.cc
@@ -178,7 +178,10 @@ BOOST_AUTO_TEST_CASE(testEqaulity)
BOOST_CHECK(b4 == b5);
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wunused-value"
BOOST_CHECK_THROW(b0 == a0, balance_error);
+#pragma GCC diagnostic pop
BOOST_CHECK(b0.valid());
BOOST_CHECK(b1.valid());