summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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));