diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-06-04 00:15:15 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-06-04 00:15:15 +0300 |
commit | 09905d2bfa60d1000d901d1a9dd87f3c60978be4 (patch) | |
tree | 8f6aef4860fa9761f96ef78f0b1dea2d69030983 /src/utils/stringutils_unittest.cc | |
parent | d4d8fcbc8e48ed06a11567ecb454a7b24723eedc (diff) | |
download | manaplus-09905d2bfa60d1000d901d1a9dd87f3c60978be4.tar.gz manaplus-09905d2bfa60d1000d901d1a9dd87f3c60978be4.tar.bz2 manaplus-09905d2bfa60d1000d901d1a9dd87f3c60978be4.tar.xz manaplus-09905d2bfa60d1000d901d1a9dd87f3c60978be4.zip |
Fix unused wariable in unit tests.
Diffstat (limited to 'src/utils/stringutils_unittest.cc')
-rw-r--r-- | src/utils/stringutils_unittest.cc | 3 |
1 files changed, 2 insertions, 1 deletions
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)); |