Commit aa78aeba authored by Feng Xiao's avatar Feng Xiao Committed by GitHub

Merge pull request #2704 from liutikas/master

Fix compiler warnings about unused variables in wire_format.h
parents 74eb9a0a 9079079e
...@@ -327,6 +327,9 @@ inline void WireFormat::VerifyUTF8StringNamedField( ...@@ -327,6 +327,9 @@ inline void WireFormat::VerifyUTF8StringNamedField(
#ifdef GOOGLE_PROTOBUF_UTF8_VALIDATION_ENABLED #ifdef GOOGLE_PROTOBUF_UTF8_VALIDATION_ENABLED
WireFormatLite::VerifyUtf8String( WireFormatLite::VerifyUtf8String(
data, size, static_cast<WireFormatLite::Operation>(op), field_name); data, size, static_cast<WireFormatLite::Operation>(op), field_name);
#else
// Avoid the compiler warning about unused variables.
(void)data; (void)size; (void)op; (void)field_name;
#endif #endif
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment