summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-11-29 17:53:37 (GMT)
committerGitHub <noreply@github.com>2021-11-29 17:53:37 (GMT)
commit40a57532a5ad5dfd81ab6c72c5fb2e2dc4509199 (patch)
tree4174ed039a4489819b3b0a193ad81c1ae9cfe17e
parentda3e9ddde7861d29ab465e8ab1e112693f689a79 (diff)
downloadcpython-40a57532a5ad5dfd81ab6c72c5fb2e2dc4509199.zip
cpython-40a57532a5ad5dfd81ab6c72c5fb2e2dc4509199.tar.gz
cpython-40a57532a5ad5dfd81ab6c72c5fb2e2dc4509199.tar.bz2
[3.9] bpo-44391: Remove unused argument from a varargs call. (GH-29843) (GH-29850)
-rw-r--r--PC/launcher.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/PC/launcher.c b/PC/launcher.c
index 106fc66..11249d7 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",