From 0ee32c148119031e19c79359f5c4789ee69fa355 Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Sat, 24 Jun 2017 16:14:08 +0300 Subject: bpo-30745: Fix compiler warnings introduced in bpo-30730. (#2376) --- Modules/_winapi.c | 3 +-- 1 file changed, 1 insertion(+), 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); -- cgit v0.12