llvmpipe: mark function unused
build_masks is only used if neither PIPE_ARCH_SSE or _ARCH_PWR8 && UTIL_ARCH_LITTLE_ENDIAN. Adding a #if around build_masks feels a bit fragile so I opted for just marking it unused. Fixes a clang warning about unused static inlined functions. Reviewed-by: Eric Engestrom <eric@igalia.com> Reviewed-by: Yonggang Luo <luoyonggang@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18800>
This commit is contained in:
committed by
Marge Bot
parent
ec5af409a5
commit
1cbfc80f0f
@@ -93,7 +93,7 @@ build_mask_linear(int32_t c, int32_t dcdx, int32_t dcdy)
|
||||
}
|
||||
|
||||
|
||||
static inline void
|
||||
UNUSED static inline void
|
||||
build_masks(int32_t c,
|
||||
int32_t cdiff,
|
||||
int32_t dcdx,
|
||||
|
||||
Reference in New Issue
Block a user