summaryrefslogtreecommitdiff
path: root/src/utils/stringutils_unittest.cc
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-06-04 00:15:15 +0300
committerAndrei Karas <akaras@inbox.ru>2016-06-04 00:15:15 +0300
commit09905d2bfa60d1000d901d1a9dd87f3c60978be4 (patch)
tree8f6aef4860fa9761f96ef78f0b1dea2d69030983 /src/utils/stringutils_unittest.cc
parentd4d8fcbc8e48ed06a11567ecb454a7b24723eedc (diff)
downloadManaVerse-09905d2bfa60d1000d901d1a9dd87f3c60978be4.tar.gz
ManaVerse-09905d2bfa60d1000d901d1a9dd87f3c60978be4.tar.bz2
ManaVerse-09905d2bfa60d1000d901d1a9dd87f3c60978be4.tar.xz
ManaVerse-09905d2bfa60d1000d901d1a9dd87f3c60978be4.zip
Fix unused wariable in unit tests.
Diffstat (limited to 'src/utils/stringutils_unittest.cc')
-rw-r--r--src/utils/stringutils_unittest.cc3
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));