summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-06-01 05:32:49 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2006-06-01 05:32:49 (GMT)
commitb16e4e7860a7c1259bbc1776c937a019781f7f01 (patch)
tree619c22d487885a989fca8d9689c6fa9b14acdcc9 /Objects
parent72270c220e465a81c89ad31b955ce9fa307df647 (diff)
downloadcpython-b16e4e7860a7c1259bbc1776c937a019781f7f01.zip
cpython-b16e4e7860a7c1259bbc1776c937a019781f7f01.tar.gz
cpython-b16e4e7860a7c1259bbc1776c937a019781f7f01.tar.bz2
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.
Diffstat (limited to 'Objects')
-rw-r--r--Objects/stringobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/stringobject.c b/Objects/stringobject.c
index a13f458..a980345 100644
--- a/Objects/stringobject.c
+++ b/Objects/stringobject.c
@@ -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++; }