summaryrefslogtreecommitdiffstats
path: root/Modules/_winapi.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2017-06-24 13:14:08 (GMT)
committerGitHub <noreply@github.com>2017-06-24 13:14:08 (GMT)
commit0ee32c148119031e19c79359f5c4789ee69fa355 (patch)
tree480e0f42889e775138d80bbb8a26a353e754bfdc /Modules/_winapi.c
parentcab469245d7635447c5e04fa6ed860b067dfc26b (diff)
downloadcpython-0ee32c148119031e19c79359f5c4789ee69fa355.zip
cpython-0ee32c148119031e19c79359f5c4789ee69fa355.tar.gz
cpython-0ee32c148119031e19c79359f5c4789ee69fa355.tar.bz2
bpo-30745: Fix compiler warnings introduced in bpo-30730. (#2376)
Diffstat (limited to 'Modules/_winapi.c')
-rw-r--r--Modules/_winapi.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Modules/_winapi.c b/Modules/_winapi.c
index 671f2dd..682d0a3 100644
--- a/Modules/_winapi.c
+++ b/Modules/_winapi.c
@@ -844,8 +844,7 @@ _winapi_CreateProcess_impl(PyObject *module, Py_UNICODE *application_name,
PROCESS_INFORMATION pi;
STARTUPINFOW si;
PyObject* environment;
- const wchar_t *wenvironment;
- Py_ssize_t wenvironment_size;
+ wchar_t *wenvironment;
ZeroMemory(&si, sizeof(si));
si.cb = sizeof(si);