Fix warning

This commit is contained in:
Milo Yip 2016-02-03 13:10:55 +08:00
parent d258f59022
commit 021d746931

View File

@ -68,7 +68,7 @@ TEST(SIMD, SIMD_SUFFIX(SkipWhitespace)) {
}
struct ScanCopyUnescapedStringHandler : BaseReaderHandler<UTF8<>, 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;
}