[Python-checkins] CVS: python/dist/src/Mac/Modules/list _Listmodule.c,1.2,1.3

Jack Jansen jackjansen@users.sourceforge.net
Wed, 05 Sep 2001 03:30:04 -0700


Update of /cvsroot/python/python/dist/src/Mac/Modules/list
In directory usw-pr-cvs1:/tmp/cvs-serv11456/python/Mac/Modules/list

Modified Files:
	_Listmodule.c 
Log Message:
Shut up many more gcc warnings.

Index: _Listmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Modules/list/_Listmodule.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** _Listmodule.c	2001/09/04 22:18:17	1.2
--- _Listmodule.c	2001/09/05 10:30:02	1.3
***************
*** 6,11 ****
--- 6,15 ----
  
  
+ #ifdef _WIN32
+ #include "pywintoolbox.h"
+ #else
  #include "macglue.h"
  #include "pymactoolbox.h"
+ #endif
  
  /* Macro to test whether a weak-loaded CFM function exists */
***************
*** 362,366 ****
  	Py_INCREF(Py_None);
  	_res = Py_None;
-  dataPtr__error__: ;
  	return _res;
  }
--- 366,369 ----
***************
*** 440,444 ****
  	Py_INCREF(Py_None);
  	_res = Py_None;
-  dataPtr__error__: ;
  	return _res;
  }
--- 443,446 ----
***************
*** 930,934 ****
  	l = (ListObject *)ListObj_New(as_List(h));
  	l->ob_must_be_disposed = 0;
! 	return Py_BuildValue("O", l);
  
  }
--- 932,937 ----
  	l = (ListObject *)ListObj_New(as_List(h));
  	l->ob_must_be_disposed = 0;
! 	_res = Py_BuildValue("O", l);
! 	return _res;
  
  }