Compiler attributes should be used to signify that an unused argument is
intentionally unused

Signed-off-by: Mike Holmes <[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

Reply via email to