summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary
diff options
context:
space:
mode:
authorKristian H. Kristensen <[email protected]>2019-04-10 13:09:01 -0700
committerKristian H. Kristensen <[email protected]>2019-04-19 16:17:37 +0000
commit3ecfe206481a8a7a89d12804a2cafd2fc0b24817 (patch)
treeb61cf16eacb75ff0ebf73dfdd20daaf88975a57d /src/gallium/auxiliary
parent0d46e404677264bfb12ada15290e39c10a5eb455 (diff)
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 <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_strings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_strings.c b/src/gallium/auxiliary/tgsi/tgsi_strings.c
index 03261ed2d99..887d2271dc1 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_strings.c
+++ b/src/gallium/auxiliary/tgsi/tgsi_strings.c
@@ -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);