mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
- Various tweaks to shut up compiler warnings.
- Regenerated with the correct calls to PyType_Ready and the correct deallocator calls.
This commit is contained in:
parent
74d93c81c1
commit
b734869f46
27 changed files with 157 additions and 86 deletions
|
|
@ -566,7 +566,7 @@ MacOS_openrf(PyObject *self, PyObject *args)
|
|||
FILE *tfp;
|
||||
char pathname[PATHNAMELEN];
|
||||
|
||||
if ( err=PyMac_GetFullPathname(&fss, pathname, PATHNAMELEN) ) {
|
||||
if ( (err=PyMac_GetFullPathname(&fss, pathname, PATHNAMELEN)) ) {
|
||||
PyMac_Error(err);
|
||||
Py_DECREF(fp);
|
||||
return NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue