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

vsajip webhook-mailer at python.org
Mon Nov 29 12:27:00 EST 2021


https://github.com/python/cpython/commit/4141d94fa608cdf5c8cd3e62f7ea1c27fd41eb8d
commit: 4141d94fa608cdf5c8cd3e62f7ea1c27fd41eb8d
branch: main
author: Vinay Sajip <vinay_sajip at yahoo.co.uk>
committer: vsajip <vinay_sajip at yahoo.co.uk>
date: 2021-11-29T17:26:50Z
summary:

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

files:
M PC/launcher.c

diff --git a/PC/launcher.c b/PC/launcher.c
index f8b8a3db39775..d2e6462f13e31 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