[
https://issues.apache.org/jira/browse/THRIFT-2037?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Konrad Grochowski updated THRIFT-2037:
--------------------------------------
Description:
{code}(x)=(x){code}
cannot be used everywhere (ex. for consts)
{code}((void)x){code} is generally supported way to suppress "unused parameter"
warning
was:
(x)=(x) cannot be used everywhere (ex. for consts)
((void)x) is generally supported way to suppress "unused parameter" warning
> More general macro THRIFT_UNUSED_VARIABLE
> -----------------------------------------
>
> Key: THRIFT-2037
> URL: https://issues.apache.org/jira/browse/THRIFT-2037
> Project: Thrift
> Issue Type: Improvement
> Components: C++ - Library
> Reporter: Konrad Grochowski
> Attachments: thrift-2037-more_general_macro.patch
>
>
> {code}(x)=(x){code}
> cannot be used everywhere (ex. for consts)
> {code}((void)x){code} is generally supported way to suppress "unused
> parameter" warning
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira