tgsi: Mark tgsi_strings_check() unused
authorKristian H. Kristensen <hoegsberg@chromium.org>
Wed, 10 Apr 2019 20:09:01 +0000 (13:09 -0700)
committerKristian H. Kristensen <hoegsberg@gmail.com>
Fri, 19 Apr 2019 16:17:37 +0000 (16:17 +0000)
It's there to hold the static asserts, don't warning about it being
unused.

Signed-off-by: Kristian H. Kristensen <hoegsberg@chromium.org>
src/gallium/auxiliary/tgsi/tgsi_strings.c

index 03261ed2d990724a5a6a34a72e0767c73c2a57cd..887d2271dc14673ea0ecd6423022b77d8772e2be 100644 (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);