diff mbox

[1/3] test: debug: Add unused attribute

Message ID 1425593910-11781-1-git-send-email-mike.holmes@linaro.org
State Accepted
Commit 6b7fdff459eb9105c0426db9434f08b17970ea1a
Headers show

Commit Message

Mike Holmes March 5, 2015, 10:18 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..fa0cbba 100644
--- a/test/test_debug.h
+++ b/test/test_debug.h
@@ -81,6 +81,11 @@  do { \
  * @}
  */
 
+/**
+ *  * Intentionally unused variables to functions
+ *   */
+#define TEST_UNUSED     __attribute__((__unused__))
+
 #ifdef __cplusplus
 }
 #endif