From d8cda5547dfdb675836c6a46056b2b48428be28d Mon Sep 17 00:00:00 2001 From: Pete Harris Date: Sat, 16 Nov 2024 09:43:49 +0000 Subject: [PATCH] Suppress unused variable warn on unknown platforms (#525) 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 }