Explorar el Código

Silence pedantic warning about unused parameter.

kenton@google.com hace 16 años
padre
commit
75fcd790c4
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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);
   }
   static inline void Add(int number, FieldType field_type,
-                         bool is_packed, const string& value,
+                         bool /*is_packed*/, const string& value,
                          ExtensionSet* set) {
     set->AddString(number, field_type, value);
   }