Mercurial > cpython-lru_cache-weakref
diff Objects/stringobject.c @ 38531:428e9cbb4346 legacy-trunk
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.
| author | Neal Norwitz <nnorwitz@gmail.com> |
|---|---|
| date | Thu, 01 Jun 2006 05:32:49 +0000 |
| parents | 551814e4b471 |
| children | 1cafbcd7f55c |
line wrap: on
line diff
--- a/Objects/stringobject.c Wed May 31 15:34:37 2006 +0000 +++ b/Objects/stringobject.c Thu Jun 01 05:32:49 2006 +0000 @@ -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++; }
