From: Chris Eibl <138194463+chris-eibl@users.noreply.github.com> Date: Sat, 15 Mar 2025 18:37:53 +0000 (+0100) Subject: GH-131296: fix clang-cl warnings on Windows in blake2module.c (#131299) X-Git-Tag: v3.14.0a7~372 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=faa80fcf46f379dd13ad2d4d2a406449d37c2d60;p=thirdparty%2FPython%2Fcpython.git GH-131296: fix clang-cl warnings on Windows in blake2module.c (#131299) work around unimportant clang-cl warnings in blake2module.c --- diff --git a/Modules/blake2module.c b/Modules/blake2module.c index f55d93a30660..924edb00b3a3 100644 --- a/Modules/blake2module.c +++ b/Modules/blake2module.c @@ -92,10 +92,10 @@ void detect_cpu_features(cpu_flags *flags) { ebx7 = info7[1]; ecx7 = info7[2]; edx7 = info7[3]; -#else +#endif (void) eax1; (void) ebx1; (void) ecx1; (void) edx1; (void) eax7; (void) ebx7; (void) ecx7; (void) edx7; -#endif + flags->avx = (ecx1 & ECX_AVX) != 0;