Skip to content

Commit

Permalink
Removed unused-parameter warning
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisse74 authored and acozzette committed Sep 20, 2019
1 parent 4702ba9 commit b9f405a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/google/protobuf/descriptor_database.h
Expand Up @@ -116,7 +116,7 @@ class PROTOBUF_EXPORT DescriptorDatabase {
//
// This method has a default implementation that always returns
// false.
virtual bool FindAllFileNames(std::vector<std::string>* output) {
virtual bool FindAllFileNames(std::vector<std::string>* /*output*/) {
return false;
}

Expand Down
2 changes: 1 addition & 1 deletion src/google/protobuf/stubs/bytestream.h
Expand Up @@ -274,7 +274,7 @@ class PROTOBUF_EXPORT StringByteSink : public ByteSink {
class PROTOBUF_EXPORT NullByteSink : public ByteSink {
public:
NullByteSink() {}
virtual void Append(const char *data, size_t n) override {}
virtual void Append(const char* /*data*/, size_t /*n*/) override {}

private:
GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(NullByteSink);
Expand Down

0 comments on commit b9f405a

Please sign in to comment.