apache / trafficserver

Apache Traffic Serverâ„¢ is a fast, scalable and extensible HTTP/1.1 and HTTP/2 compliant caching proxy server.
https://trafficserver.apache.org/
Apache License 2.0
1.74k stars 781 forks source link

Fix unused function parameters in the plugins functionality #11466

Closed freak82 closed 1 week ago

freak82 commented 1 week ago

Use /* name ATS_UNUSED */ for fully unused parameters. Use [[maybe_unused]] attribute for conditionally unused parameters used in asserts.

This pull request is part of the effort for removing the -Wno-unused-parameter warning suppression.

freak82 commented 1 week ago

@JosiahWI The pull request is updated with the requested changes.

cmcfarlen commented 1 week ago

Cherry-picked to v10.0.x