]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
GH-131296: fix clang-cl warnings on Windows in blake2module.c (#131299)
authorChris Eibl <138194463+chris-eibl@users.noreply.github.com>
Sat, 15 Mar 2025 18:37:53 +0000 (19:37 +0100)
committerGitHub <noreply@github.com>
Sat, 15 Mar 2025 18:37:53 +0000 (11:37 -0700)
work around unimportant clang-cl warnings in blake2module.c

Modules/blake2module.c

index f55d93a3066025077c872fa2fe57f662c6ba2523..924edb00b3a35d2983978d10a71ba30dbb172e3f 100644 (file)
@@ -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;