Silence pedantic warning about unused parameter.

pull/3335/head
kenton@google.com 16 years ago
parent 7ddfb4c3c7
commit 75fcd790c4
  1. 2
      src/google/protobuf/extension_set.h

@ -569,7 +569,7 @@ class LIBPROTOBUF_EXPORT RepeatedStringTypeTraits {
return set->MutableRepeatedString(number, index); return set->MutableRepeatedString(number, index);
} }
static inline void Add(int number, FieldType field_type, static inline void Add(int number, FieldType field_type,
bool is_packed, const string& value, bool /*is_packed*/, const string& value,
ExtensionSet* set) { ExtensionSet* set) {
set->AddString(number, field_type, value); set->AddString(number, field_type, value);
} }

Loading…
Cancel
Save