]> granicus.if.org Git - python/commitdiff
Fix formatting changes that led to compilation errors
authorEli Bendersky <eliben@gmail.com>
Wed, 6 Mar 2013 14:30:23 +0000 (06:30 -0800)
committerEli Bendersky <eliben@gmail.com>
Wed, 6 Mar 2013 14:30:23 +0000 (06:30 -0800)
Modules/_ctypes/callproc.c

index e72f256c40939d6ce986b1e82d2f45bda0be8452..7700149490761e6a20a56eb1c32f31ee8ef34698 100644 (file)
@@ -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);