diff options
Diffstat (limited to 'src/google/protobuf/parse_context.h')
-rw-r--r-- | src/google/protobuf/parse_context.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/google/protobuf/parse_context.h b/src/google/protobuf/parse_context.h index 72355f81c..60cb0ca64 100644 --- a/src/google/protobuf/parse_context.h +++ b/src/google/protobuf/parse_context.h @@ -616,7 +616,9 @@ inline PROTOBUF_MUST_USE_RESULT const char* InlineGreedyStringParserUTF8Verify( auto p = InlineGreedyStringParser(s, ptr, ctx); #ifndef NDEBUG VerifyUTF8(*s, field_name); -#endif // !NDEBUG +#else + (void)field_name; +#endif return p; } |