Commit b9f405ae authored by Christian Maurer's avatar Christian Maurer Committed by Adam Cozzette

Removed unused-parameter warning

parent 4702ba90
...@@ -116,7 +116,7 @@ class PROTOBUF_EXPORT DescriptorDatabase { ...@@ -116,7 +116,7 @@ class PROTOBUF_EXPORT DescriptorDatabase {
// //
// This method has a default implementation that always returns // This method has a default implementation that always returns
// false. // false.
virtual bool FindAllFileNames(std::vector<std::string>* output) { virtual bool FindAllFileNames(std::vector<std::string>* /*output*/) {
return false; return false;
} }
......
...@@ -274,7 +274,7 @@ class PROTOBUF_EXPORT StringByteSink : public ByteSink { ...@@ -274,7 +274,7 @@ class PROTOBUF_EXPORT StringByteSink : public ByteSink {
class PROTOBUF_EXPORT NullByteSink : public ByteSink { class PROTOBUF_EXPORT NullByteSink : public ByteSink {
public: public:
NullByteSink() {} NullByteSink() {}
virtual void Append(const char *data, size_t n) override {} virtual void Append(const char* /*data*/, size_t /*n*/) override {}
private: private:
GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(NullByteSink); GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(NullByteSink);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment