Index: compiler-rt/lib/builtins/emutls.c =================================================================== --- compiler-rt/lib/builtins/emutls.c +++ compiler-rt/lib/builtins/emutls.c @@ -182,9 +182,10 @@ } } -#pragma warning(push) -#pragma warning(disable : 4100) static BOOL CALLBACK emutls_init(PINIT_ONCE p0, PVOID p1, PVOID *p2) { + (void)p0; + (void)p1; + (void)p2; emutls_mutex = (LPCRITICAL_SECTION)_aligned_malloc(sizeof(CRITICAL_SECTION), 16); if (!emutls_mutex) { @@ -251,8 +252,6 @@ #endif // __ATOMIC_RELEASE -#pragma warning(pop) - #endif // _WIN32 static size_t emutls_num_object = 0; // number of allocated TLS objects