Mercurial > cpython-lru_cache-weakref
diff Mac/Modules/list/_Listmodule.c @ 19723:2a9bbdbefbb1 legacy-trunk
Shut up many more gcc warnings.
| author | Jack Jansen <jack.jansen@cwi.nl> |
|---|---|
| date | Wed, 05 Sep 2001 10:31:52 +0000 |
| parents | 6eafc4a6359a |
| children | 7e247f0837e2 |
line wrap: on
line diff
--- a/Mac/Modules/list/_Listmodule.c Wed Sep 05 10:27:53 2001 +0000 +++ b/Mac/Modules/list/_Listmodule.c Wed Sep 05 10:31:52 2001 +0000 @@ -5,8 +5,12 @@ +#ifdef _WIN32 +#include "pywintoolbox.h" +#else #include "macglue.h" #include "pymactoolbox.h" +#endif /* Macro to test whether a weak-loaded CFM function exists */ #define PyMac_PRECHECK(rtn) do { if ( &rtn == NULL ) {\ @@ -361,7 +365,6 @@ _self->ob_itself); Py_INCREF(Py_None); _res = Py_None; - dataPtr__error__: ; return _res; } @@ -439,7 +442,6 @@ _self->ob_itself); Py_INCREF(Py_None); _res = Py_None; - dataPtr__error__: ; return _res; } @@ -929,7 +931,8 @@ return NULL; l = (ListObject *)ListObj_New(as_List(h)); l->ob_must_be_disposed = 0; - return Py_BuildValue("O", l); + _res = Py_BuildValue("O", l); + return _res; }
