]> granicus.if.org Git - python/commitdiff
Remove ; at end of macro. There was a compiler recently that warned
authorNeal Norwitz <nnorwitz@gmail.com>
Thu, 1 Jun 2006 05:32:49 +0000 (05:32 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Thu, 1 Jun 2006 05:32:49 +0000 (05:32 +0000)
about extra semi-colons.  It may have been the HP C compiler.
This file will trigger a bunch of those warnings now.

Objects/stringobject.c

index a13f45867d22f3919511e76fa10abfebd3234b54..a9803451a169fd1e26d41363c2083f113dbb7fc7 100644 (file)
@@ -1363,7 +1363,7 @@ static const char *stripformat[] = {"|O:lstrip", "|O:rstrip", "|O:strip"};
        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++; }