summaryrefslogtreecommitdiff
path: root/upb
diff options
context:
space:
mode:
Diffstat (limited to 'upb')
-rw-r--r--upb/bindings/googlepb/proto2.cc1
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)) {
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback