From: Benjamin Peterson Date: Sat, 26 Mar 2011 23:09:55 +0000 (-0500) Subject: fix missing variable declarations X-Git-Tag: v2.7.2rc1~205 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e26f482742142a25828196bf200e9a0ed52b7b5a;p=python fix missing variable declarations --- diff --git a/Modules/_ctypes/_ctypes.c b/Modules/_ctypes/_ctypes.c index 431940b161..c6c6dbda18 100644 --- a/Modules/_ctypes/_ctypes.c +++ b/Modules/_ctypes/_ctypes.c @@ -1499,6 +1499,7 @@ static PyObject * c_wchar_p_from_param(PyObject *type, PyObject *value) { PyObject *as_parameter; + int res; #if (PYTHON_API_VERSION < 1012) # error not supported #endif @@ -1566,6 +1567,7 @@ static PyObject * c_char_p_from_param(PyObject *type, PyObject *value) { PyObject *as_parameter; + int res; #if (PYTHON_API_VERSION < 1012) # error not supported #endif @@ -1634,6 +1636,7 @@ c_void_p_from_param(PyObject *type, PyObject *value) { StgDictObject *stgd; PyObject *as_parameter; + int res; #if (PYTHON_API_VERSION < 1012) # error not supported #endif