diff mbox

[v2,1/3] test: debug: Add unused attribute MACRO

Message ID 1425594134-5109-2-git-send-email-mike.holmes@linaro.org
State Superseded
Headers show

Commit Message

Mike Holmes March 5, 2015, 10:22 p.m. UTC
Signed-off-by: Mike Holmes <mike.holmes@linaro.org>
---
 test/test_debug.h | 5 +++++
 1 file changed, 5 insertions(+)
diff mbox

Patch

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