[Python-checkins] [3.10] bpo-44391: Remove unused argument from a varargs call. (GH-29843) (GH-29849)

vsajip webhook-mailer at python.org
Mon Nov 29 13:00:40 EST 2021


https://github.com/python/cpython/commit/af39cfa6ca1e5dc4e5d28c1f09a875a14354e4ae
commit: af39cfa6ca1e5dc4e5d28c1f09a875a14354e4ae
branch: 3.10
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: vsajip <vinay_sajip at yahoo.co.uk>
date: 2021-11-29T18:00:31Z
summary:

[3.10] bpo-44391: Remove unused argument from a varargs call. (GH-29843) (GH-29849)

files:
M PC/launcher.c

diff --git a/PC/launcher.c b/PC/launcher.c
index 84c8a1d14ea41..734e7533398b1 100644
--- a/PC/launcher.c
+++ b/PC/launcher.c
@@ -344,7 +344,7 @@ _locate_pythons_for_key(HKEY root, LPCWSTR subkey, REGSAM flags, int bits,
                     }
                     else if (attrs & FILE_ATTRIBUTE_DIRECTORY) {
                         debug(L"locate_pythons_for_key: '%ls' is a directory\n",
-                              ip->executable, attrs);
+                              ip->executable);
                     }
                     else if (find_existing_python(ip->executable)) {
                         debug(L"locate_pythons_for_key: %ls: already found\n",



More information about the Python-checkins mailing list