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:
Kristian H. Kristensen
2019-04-10 13:09:01 -07:00
committed by Kristian H. Kristensen
parent 0d46e40467
commit 3ecfe20648
+1 -1
View File
@@ -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);