Skip to content

Fix some -Wunused-parameter warnings#8053

Merged
acozzette merged 1 commit intoprotocolbuffers:masterfrom
georgthegreat:fix-unused
Nov 17, 2020
Merged

Fix some -Wunused-parameter warnings#8053
acozzette merged 1 commit intoprotocolbuffers:masterfrom
georgthegreat:fix-unused

Conversation

@georgthegreat
Copy link
Copy Markdown
Contributor

With every release new unused parameters appear in the codebase (the previous one was fixed in #7878).

@acozzette, is there any option to ensure the absence of such parameters via CI / testing?

@google-cla google-cla Bot added the cla: yes label Nov 17, 2020
@acozzette acozzette merged commit 0321358 into protocolbuffers:master Nov 17, 2020
@acozzette
Copy link
Copy Markdown

@georgthegreat Thanks for the fix. We could potentially change this line to CXXFLAGS="-Werror=unused-parameter" ./configure to make this an error, but I tried it just now and it won't build successfully without fixing other cases in protoc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants