diff options
| author | Patrick Williams <iawillia@us.ibm.com> | 2013-04-08 14:45:30 -0500 |
|---|---|---|
| committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2013-04-18 09:13:58 -0500 |
| commit | d463911fd7122d75306f6ea9c042d96e1c3597c6 (patch) | |
| tree | d96e1844d4644defb8233ddcc756fa00b23bd186 /src/include/usr/trace/interface.H | |
| parent | 79f790c2b9d6a368f61a99af07d04ed9348ca504 (diff) | |
| download | blackbird-hostboot-d463911fd7122d75306f6ea9c042d96e1c3597c6.tar.gz blackbird-hostboot-d463911fd7122d75306f6ea9c042d96e1c3597c6.zip | |
Add 'SUPPRESS_UNUSED_VARIABLE' macro to avoid compiler warnings.
Change-Id: Ic34fa1e141c1d75ea67933c02366016c732ac0c2
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/4038
Tested-by: Jenkins Server
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/usr/trace/interface.H')
| -rw-r--r-- | src/include/usr/trace/interface.H | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/include/usr/trace/interface.H b/src/include/usr/trace/interface.H index d4e2c9398..3fc72646d 100644 --- a/src/include/usr/trace/interface.H +++ b/src/include/usr/trace/interface.H @@ -5,7 +5,7 @@ /* */ /* IBM CONFIDENTIAL */ /* */ -/* COPYRIGHT International Business Machines Corp. 2011,2012 */ +/* COPYRIGHT International Business Machines Corp. 2011,2013 */ /* */ /* p1 */ /* */ @@ -41,6 +41,7 @@ /******************************************************************************/ // Includes /******************************************************************************/ +#include <builtins.h> #include <stdint.h> #include <trace/trace.H> // Internal function and struct definitions @@ -95,7 +96,8 @@ const uint32_t TRACE_FIELD = 0; //Indicates trace is field #else #ifndef HOSTBOOT_DEBUG -#define TRACDCOMP(des,printf_string,args...) do {} while(0) +#define TRACDCOMP(des,printf_string,args...) \ + SUPPRESS_UNUSED_VARIABLE(NULL, ##args) #define TRACDBIN(des,descString,address,length) do {} while(0) #else |

