intel/aubinator_error_decode: mark ret as MAYBE_UNUSED in main
authorKai Wasserbäch <kai@dev.carbon-project.org>
Sat, 18 Aug 2018 11:16:10 +0000 (13:16 +0200)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Mon, 20 Aug 2018 10:08:52 +0000 (11:08 +0100)
commit64c2bca59f903142b8e4807ed7577f84a385e335
treea923fd3367019f933b0e647e881b2ece272d04b1
parent0aacb5eab6120aa1410966d23101e16eea3fbcd7
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 <kai@dev.carbon-project.org>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/tools/aubinator_error_decode.c