Skip to content

Commit d8cda55

Browse files
authored
Suppress unused variable warn on unknown platforms (#525)
Fixes #524
1 parent 3efe150 commit d8cda55

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Source/astcenccli_platform_dependents.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,8 @@ void set_thread_name(
196196
pthread_setname_np(pthread_self(), name);
197197
#elif defined(__APPLE__)
198198
pthread_setname_np(name);
199+
#else
200+
(void)name;
199201
#endif
200202
}
201203

0 commit comments

Comments
 (0)