diff options
author | Kai Wasserbäch <[email protected]> | 2018-08-21 17:25:45 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2018-08-22 14:33:21 -0400 |
commit | 6a7ef7c7dc8587d2d0b7a89e4426602e92125d7a (patch) | |
tree | b41ad48658428694862be9a3fa4957364ab1aaed /Makefile.am | |
parent | 556f89a7158bfaa5a2332ac84c7be9b113a80f13 (diff) |
amd/addrlib: mark *pEqToCheck as MAYBE_UNUSED in Addr::V2::Gfx9Lib::ComputeStereoInfo (v2)
Only used, when asserts are enabled.
Fixes an unused-variable warning with GCC 8:
../../../src/amd/addrlib/gfx9/gfx9addrlib.cpp: In member function 'ADDR_E_RETURNCODE Addr::V2::Gfx9Lib::ComputeStereoInfo(const ADDR2_COMPUTE_SURFACE_INFO_INPUT*, ADDR2_COMPUTE_SURFACE_INFO_OUTPUT*, unsigned int*) const':
../../../src/amd/addrlib/gfx9/gfx9addrlib.cpp:3879:34: warning: unused variable 'pEqToCheck' [-Wunused-variable]
const ADDR_EQUATION *pEqToCheck = &m_equationTable[eqIndex];
^~~~~~~~~~
v2: Don't realign other variable definitions, to keep in line with file
style (Marek)
Signed-off-by: Kai Wasserbäch <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'Makefile.am')
0 files changed, 0 insertions, 0 deletions