diff options
author | Kai Wasserbäch <[email protected]> | 2018-08-18 13:16:10 +0200 |
---|---|---|
committer | Lionel Landwerlin <[email protected]> | 2018-08-20 11:08:52 +0100 |
commit | 64c2bca59f903142b8e4807ed7577f84a385e335 (patch) | |
tree | a923fd3367019f933b0e647e881b2ece272d04b1 /src/intel/tools/aub_write.h | |
parent | 0aacb5eab6120aa1410966d23101e16eea3fbcd7 (diff) |
intel/aubinator_error_decode: mark ret as MAYBE_UNUSED in main
Only used, when asserts are enabled.
Fixes an unused-but-set-variable warning with GCC 8:
../../../src/intel/tools/aubinator_error_decode.c: In function 'main':
../../../src/intel/tools/aubinator_error_decode.c:759:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
int ret;
^~~
Signed-off-by: Kai Wasserbäch <[email protected]>
Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src/intel/tools/aub_write.h')
0 files changed, 0 insertions, 0 deletions