[
https://issues.apache.org/jira/browse/THRIFT-2037?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ben Craig resolved THRIFT-2037.
-------------------------------
Resolution: Fixed
commited. Thanks Konrad!
> 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
> Assignee: Ben Craig
> Priority: Minor
> 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