From 09905d2bfa60d1000d901d1a9dd87f3c60978be4 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 4 Jun 2016 00:15:15 +0300 Subject: Fix unused wariable in unit tests. --- src/utils/stringutils_unittest.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/utils/stringutils_unittest.cc b/src/utils/stringutils_unittest.cc index 106452b2d..ec0b70155 100644 --- a/src/utils/stringutils_unittest.cc +++ b/src/utils/stringutils_unittest.cc @@ -101,7 +101,8 @@ TEST_CASE("stringuntils atox 1") REQUIRE(0 == atox(str)); str = "0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"; - atox(str); + const int k = atox(str); + printf("%d\n", k); // for avoid warning str = ""; REQUIRE(0 == atox(str)); -- cgit v1.2.3-70-g09d2