diff options
author | Eli Bendersky <eliben@gmail.com> | 2013-03-06 14:30:23 (GMT) |
---|---|---|
committer | Eli Bendersky <eliben@gmail.com> | 2013-03-06 14:30:23 (GMT) |
commit | ca832332160dc0cc23b36a8528d29b2c9b3bebff (patch) | |
tree | fd79c2fb6504e9d0559e4c6acee4841cd3705d1a /Modules | |
parent | 3612da6b2bcb6e4658333e07e55ecb7432f10471 (diff) | |
download | cpython-ca832332160dc0cc23b36a8528d29b2c9b3bebff.zip cpython-ca832332160dc0cc23b36a8528d29b2c9b3bebff.tar.gz cpython-ca832332160dc0cc23b36a8528d29b2c9b3bebff.tar.bz2 |
Fix formatting changes that led to compilation errors
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_ctypes/callproc.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Modules/_ctypes/callproc.c b/Modules/_ctypes/callproc.c index e72f256..7700149 100644 --- a/Modules/_ctypes/callproc.c +++ b/Modules/_ctypes/callproc.c @@ -1078,10 +1078,9 @@ PyObject *_ctypes_callproc(PPROC pProc, args[0].ffi_type = &ffi_type_pointer; args[0].value.p = pIunk; pa = &args[1]; - } else { + } else #endif pa = &args[0]; - } /* Convert the arguments */ for (i = 0; i < n; ++i, ++pa) { @@ -1174,10 +1173,9 @@ PyObject *_ctypes_callproc(PPROC pProc, retval = PyErr_SetFromWindowsErr(*(int *)resbuf); else retval = PyLong_FromLong(*(int *)resbuf); - } else { + } else #endif retval = GetResult(restype, resbuf, checker); - } cleanup: for (i = 0; i < argcount; ++i) Py_XDECREF(args[i].keep); |