Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ca83233

Browse files
committed
Fix formatting changes that led to compilation errors
1 parent 3612da6 commit ca83233

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

Modules/_ctypes/callproc.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1078,10 +1078,9 @@ PyObject *_ctypes_callproc(PPROC pProc,
10781078
args[0].ffi_type = &ffi_type_pointer;
10791079
args[0].value.p = pIunk;
10801080
pa = &args[1];
1081-
} else {
1081+
} else
10821082
#endif
10831083
pa = &args[0];
1084-
}
10851084

10861085
/* Convert the arguments */
10871086
for (i = 0; i < n; ++i, ++pa) {
@@ -1174,10 +1173,9 @@ PyObject *_ctypes_callproc(PPROC pProc,
11741173
retval = PyErr_SetFromWindowsErr(*(int *)resbuf);
11751174
else
11761175
retval = PyLong_FromLong(*(int *)resbuf);
1177-
} else {
1176+
} else
11781177
#endif
11791178
retval = GetResult(restype, resbuf, checker);
1180-
}
11811179
cleanup:
11821180
for (i = 0; i < argcount; ++i)
11831181
Py_XDECREF(args[i].keep);

0 commit comments

Comments
 (0)