From ba87fcd84b24d16b998663b8b48b4a4d464ed66c Mon Sep 17 00:00:00 2001 From: Josh Haberman Date: Sat, 30 Aug 2014 13:09:36 -0700 Subject: Fix in test_cpp for bad macro expansion. --- upb/bindings/googlepb/proto2.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'upb/bindings/googlepb') 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(m); if (data->SetOneofHas(m)) { -- cgit v1.2.3