[Python-checkins] cpython: Fix formatting changes that led to compilation errors

eli.bendersky python-checkins at python.org
Wed Mar 6 15:31:09 CET 2013


http://hg.python.org/cpython/rev/6bcec385d13d
changeset: 82512:6bcec385d13d
user: Eli Bendersky <eliben at gmail.com>
date: Wed Mar 06 06:30:23 2013 -0800
summary:
 Fix formatting changes that led to compilation errors
files:
 Modules/_ctypes/callproc.c | 6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/Modules/_ctypes/callproc.c b/Modules/_ctypes/callproc.c
--- a/Modules/_ctypes/callproc.c
+++ b/Modules/_ctypes/callproc.c
@@ -1078,10 +1078,9 @@
 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 @@
 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);
-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /