Эх сурвалжийг харах

Silence pedantic warning about unused parameter.

kenton@google.com 16 жил өмнө
parent
commit
75fcd790c4

+ 1 - 1
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);
   }
   }