Pārlūkot izejas kodu

Silence pedantic warning about unused parameter.

kenton@google.com 16 gadi atpakaļ
vecāks
revīzija
75fcd790c4
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      src/google/protobuf/extension_set.h

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