[Python-checkins] r46584 - python/trunk/Objects/stringobject.c

neal.norwitz python-checkins at python.org
Thu Jun 1 07:32:50 CEST 2006


Author: neal.norwitz
Date: Thu Jun  1 07:32:49 2006
New Revision: 46584

Modified:
   python/trunk/Objects/stringobject.c
Log:
Remove ; at end of macro.  There was a compiler recently that warned
about extra semi-colons.  It may have been the HP C compiler.  
This file will trigger a bunch of those warnings now.


Modified: python/trunk/Objects/stringobject.c
==============================================================================
--- python/trunk/Objects/stringobject.c	(original)
+++ python/trunk/Objects/stringobject.c	Thu Jun  1 07:32:49 2006
@@ -1363,7 +1363,7 @@
 	count++; }
 
 /* Always force the list to the expected size. */
-#define FIX_PREALLOC_SIZE(list) ((PyListObject *)list)->ob_size = count;	
+#define FIX_PREALLOC_SIZE(list) ((PyListObject *)list)->ob_size = count
 
 #define SKIP_SPACE(s, i, len)    { while (i<len &&  isspace(Py_CHARMASK(s[i]))) i++; }
 #define SKIP_NONSPACE(s, i, len) { while (i<len && !isspace(Py_CHARMASK(s[i]))) i++; }


More information about the Python-checkins mailing list