summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2021-11-29 17:26:50 +0000
committerGitHub <noreply@github.com>2021-11-29 17:26:50 +0000
commit4141d94fa608cdf5c8cd3e62f7ea1c27fd41eb8d (patch)
tree9d6dd62dc827d9d6aacd3e61422725b34f218ca5
parent992565f7f72fd8250b788795f76eedcff5636a64 (diff)
downloadcpython-git-4141d94fa608cdf5c8cd3e62f7ea1c27fd41eb8d.tar.gz
bpo-44391: Remove unused argument from a varargs call. (GH-29843)
-rw-r--r--PC/launcher.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/PC/launcher.c b/PC/launcher.c
index f8b8a3db39..d2e6462f13 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",