Skip to content

Commit

Permalink
Suppress unused variable warn on unknown platforms (#525)
Browse files Browse the repository at this point in the history
Fixes #524
  • Loading branch information
solidpixel authored Nov 16, 2024
1 parent 3efe150 commit d8cda55
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Source/astcenccli_platform_dependents.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit d8cda55

Please sign in to comment.