]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
GH-131296: fix clang-cl warnings in sysmodule.c (#131304)
authorChris Eibl <138194463+chris-eibl@users.noreply.github.com>
Thu, 20 Mar 2025 16:29:21 +0000 (17:29 +0100)
committerGitHub <noreply@github.com>
Thu, 20 Mar 2025 16:29:21 +0000 (16:29 +0000)
Python/sysmodule.c

index 664bf31e9ecd9bd0fadd4e820c93674de3c3dfbf..1b2019a9f74d423710421c76f98707078865877c 100644 (file)
@@ -1614,7 +1614,7 @@ sys_getrecursionlimit_impl(PyObject *module)
 
 #ifdef MS_WINDOWS
 
-static PyTypeObject WindowsVersionType = {0, 0, 0, 0, 0, 0};
+static PyTypeObject WindowsVersionType = { 0 };
 
 static PyStructSequence_Field windows_version_fields[] = {
     {"major", "Major version number"},