diff options
Diffstat (limited to 'upb/bindings/googlepb/proto2.cc')
-rw-r--r-- | upb/bindings/googlepb/proto2.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/upb/bindings/googlepb/proto2.cc b/upb/bindings/googlepb/proto2.cc index 224e2b9..657f802 100644 --- a/upb/bindings/googlepb/proto2.cc +++ b/upb/bindings/googlepb/proto2.cc @@ -744,6 +744,7 @@ case goog::FieldDescriptor::cpptype: \ static T* StartOneofString(goog::Message* m, const OneofFieldHandlerData* data, size_t size_hint) { + UPB_UNUSED(size_hint); const FieldOffset* ofs = data; T** str = ofs->GetFieldPointer<T*>(m); if (data->SetOneofHas(m)) { |