fix missing variable declarations

This commit is contained in:
Benjamin Peterson 2011-03-26 18:09:55 -05:00
parent de39047cc6
commit e26f482742
1 changed files with 3 additions and 0 deletions

View File

@ -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