Merged, Maxim. On 03/20/15 06:25, Bill Fischofer wrote:
On Thu, Mar 19, 2015 at 1:20 PM, Mike Holmes <[email protected] <mailto:[email protected]>> wrote:Compiler attributes should be used to signify that an unused argument is intentionally unused Signed-off-by: Mike Holmes <[email protected] <mailto:[email protected]>>Reviewed-by: Bill Fischofer <[email protected] <mailto:[email protected]>>--- test/test_debug.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/test_debug.h b/test/test_debug.h index 35e21d9..2ad743f 100644 --- a/test/test_debug.h +++ b/test/test_debug.h @@ -81,6 +81,11 @@ do { \ * @} */ +/** + * Mark intentionally unused argument for functions + */ +#define TEST_UNUSED __attribute__((__unused__)) + #ifdef __cplusplus } #endif -- 2.1.0 _______________________________________________ lng-odp mailing list [email protected] http://lists.linaro.org/mailman/listinfo/lng-odp
_______________________________________________ lng-odp mailing list [email protected] http://lists.linaro.org/mailman/listinfo/lng-odp
