tgsi: Mark tgsi_strings_check() unused
It's there to hold the static asserts, don't warning about it being unused. Signed-off-by: Kristian H. Kristensen <hoegsberg@chromium.org>
This commit is contained in:
committed by
Kristian H. Kristensen
parent
0d46e40467
commit
3ecfe20648
@@ -237,7 +237,7 @@ const char *tgsi_memory_names[4] =
|
||||
};
|
||||
|
||||
|
||||
static inline void
|
||||
UNUSED static inline void
|
||||
tgsi_strings_check(void)
|
||||
{
|
||||
STATIC_ASSERT(ARRAY_SIZE(tgsi_semantic_names) == TGSI_SEMANTIC_COUNT);
|
||||
|
||||
Reference in New Issue
Block a user