You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@trafficserver.apache.org by "freak82 (via GitHub)" <gi...@apache.org> on 2024/05/30 14:23:10 UTC
[PR] Fix unused parameters in the tscpp source code [trafficserver]
freak82 opened a new pull request, #11402:
URL: https://github.com/apache/trafficserver/pull/11402
This is related to the discussion [here](https://github.com/apache/trafficserver/issues/11377)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix unused parameters in the tscpp source code [trafficserver]
Posted by "cmcfarlen (via GitHub)" <gi...@apache.org>.
cmcfarlen commented on PR #11402:
URL: https://github.com/apache/trafficserver/pull/11402#issuecomment-2218401229
Cherry-picked to v10.0.x
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix unused parameters in the tscpp source code [trafficserver]
Posted by "freak82 (via GitHub)" <gi...@apache.org>.
freak82 commented on PR #11402:
URL: https://github.com/apache/trafficserver/pull/11402#issuecomment-2168273156
I updated this pull request to use `/* name ATS_UNUSED */` as it was decided in the discussion [here](https://github.com/apache/trafficserver/pull/11406).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix unused parameters in the tscpp source code [trafficserver]
Posted by "freak82 (via GitHub)" <gi...@apache.org>.
freak82 commented on code in PR #11402:
URL: https://github.com/apache/trafficserver/pull/11402#discussion_r1639994187
##########
src/tscpp/api/utils_internal.cc:
##########
@@ -260,7 +260,7 @@ utils::internal::invokePluginForEvent(GlobalPlugin *plugin, TSHttpTxn ats_txn_ha
}
void
-utils::internal::invokePluginForEvent(GlobalPlugin *plugin, TSHttpAltInfo altinfo_handle, TSEvent event)
+utils::internal::invokePluginForEvent(GlobalPlugin *plugin, TSHttpAltInfo altinfo_handle, [[maybe_unused]] TSEvent event)
Review Comment:
There is an assertion in this function which uses the `event` argument.
That's why it's with `[[maybe_unused]]` instead of like the other ones.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix unused parameters in the tscpp source code [trafficserver]
Posted by "freak82 (via GitHub)" <gi...@apache.org>.
freak82 commented on PR #11402:
URL: https://github.com/apache/trafficserver/pull/11402#issuecomment-2175336761
@JosiahWI
The PR is updated.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix unused parameters in the tscpp source code [trafficserver]
Posted by "JosiahWI (via GitHub)" <gi...@apache.org>.
JosiahWI commented on PR #11402:
URL: https://github.com/apache/trafficserver/pull/11402#issuecomment-2173742460
@freak82 It looks like the length parameter to `Headers::count` is no longer unused after your fix #11405 was applied. Could you update this PR accordingly?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix unused parameters in the tscpp source code [trafficserver]
Posted by "JosiahWI (via GitHub)" <gi...@apache.org>.
JosiahWI commented on PR #11402:
URL: https://github.com/apache/trafficserver/pull/11402#issuecomment-2175818418
[approve ci rocky]
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org