Unverified Commit f81a3910 authored by Feng Xiao's avatar Feng Xiao Committed by GitHub

Merge pull request #3901 from wijagels/master

Fix unused parameter warnings in generated code with arenas enabled
parents 35c6927c 9de458ab
...@@ -2280,7 +2280,7 @@ GenerateArenaDestructorCode(io::Printer* printer) { ...@@ -2280,7 +2280,7 @@ GenerateArenaDestructorCode(io::Printer* printer) {
"classname", classname_); "classname", classname_);
} else { } else {
printer->Print( printer->Print(
"void $classname$::RegisterArenaDtor(::google::protobuf::Arena* arena) {\n" "void $classname$::RegisterArenaDtor(::google::protobuf::Arena*) {\n"
"}\n", "}\n",
"classname", classname_); "classname", classname_);
} }
......
This diff is collapsed.
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