From: Serhiy Storchaka Date: Sat, 24 Jun 2017 13:42:44 +0000 (+0300) Subject: [3.5] bpo-30745: Fix compiler warnings introduced in bpo-30730. (GH-2376) (#2379) X-Git-Tag: v3.5.4rc1~47 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e0d446e9caa38923e43818f78c94f95fe0aa995e;p=thirdparty%2FPython%2Fcpython.git [3.5] bpo-30745: Fix compiler warnings introduced in bpo-30730. (GH-2376) (#2379) (cherry picked from commit 0ee32c1) --- diff --git a/Modules/_winapi.c b/Modules/_winapi.c index 28a9ac0cf4e4..a911a3972237 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);