mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 04:20:08 +01:00
intel: Silence unused parameter warnings in files that include genX_pack.h
src/intel/genxml/gen4_pack.h: In function ‘__gen_address’:
src/intel/genxml/gen4_pack.h:115:38: warning: unused parameter ‘start’ [-Wunused-parameter]
115 | NDEBUG_UNUSED uint32_t start, uint32_t end)
| ~~~~~~~~~^~~~~
Reviewed-by: Anuj Phogat anuj.phogat@gmail.com
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9237>
This commit is contained in:
parent
b5cf60b75d
commit
3f18faea30
1 changed files with 1 additions and 1 deletions
|
|
@ -128,7 +128,7 @@ __gen_offset(uint64_t v, NDEBUG_UNUSED uint32_t start, NDEBUG_UNUSED uint32_t en
|
|||
static inline __attribute__((always_inline)) uint64_t
|
||||
__gen_address(__gen_user_data *data, void *location,
|
||||
__gen_address_type address, uint32_t delta,
|
||||
NDEBUG_UNUSED uint32_t start, uint32_t end)
|
||||
__attribute__((unused)) uint32_t start, uint32_t end)
|
||||
{
|
||||
uint64_t addr_u64 = __gen_combine_address(data, location, address, delta);
|
||||
if (end == 31) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue