From f2baafaf15704aea79ffdba1bc658f61d6d72bcb Mon Sep 17 00:00:00 2001 From: Peter Harris Date: Sat, 16 Nov 2024 09:27:01 +0000 Subject: [PATCH] Suppress unused variable warn on unknown platforms Fixes #524 --- Source/astcenccli_platform_dependents.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/astcenccli_platform_dependents.cpp b/Source/astcenccli_platform_dependents.cpp index 636b9163..cc364bc8 100644 --- a/Source/astcenccli_platform_dependents.cpp +++ b/Source/astcenccli_platform_dependents.cpp @@ -196,6 +196,8 @@ void set_thread_name( pthread_setname_np(pthread_self(), name); #elif defined(__APPLE__) pthread_setname_np(name); +#else + (void)name; #endif }