From 021d7469313a21ad7d7b2c3e9ea49b1f61c84f41 Mon Sep 17 00:00:00 2001 From: Milo Yip Date: Wed, 3 Feb 2016 13:10:55 +0800 Subject: [PATCH] Fix warning --- test/unittest/simdtest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unittest/simdtest.cpp b/test/unittest/simdtest.cpp index 00f5200..5e369f3 100644 --- a/test/unittest/simdtest.cpp +++ b/test/unittest/simdtest.cpp @@ -68,7 +68,7 @@ TEST(SIMD, SIMD_SUFFIX(SkipWhitespace)) { } struct ScanCopyUnescapedStringHandler : BaseReaderHandler, ScanCopyUnescapedStringHandler> { - bool String(const char* str, size_t length, bool copy) { + bool String(const char* str, size_t length, bool) { memcpy(buffer, str, length + 1); return true; }