https://github.com/python/cpython/commit/faa80fcf46f379dd13ad2d4d2a406449d37c2d60
commit: faa80fcf46f379dd13ad2d4d2a406449d37c2d60
branch: main
author: Chris Eibl <[email protected]>
committer: gpshead <[email protected]>
date: 2025-03-15T11:37:53-07:00
summary:
GH-131296: fix clang-cl warnings on Windows in blake2module.c (#131299)
work around unimportant clang-cl warnings in blake2module.c
files:
M Modules/blake2module.c
diff --git a/Modules/blake2module.c b/Modules/blake2module.c
index f55d93a3066025..924edb00b3a35d 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;
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]