diff options
author | Tim Peters <tim.peters@gmail.com> | 2001-02-17 18:12:50 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2001-02-17 18:12:50 (GMT) |
commit | 63cb99e4f0dfb1bff9cf9fa53efd5a7cca78c672 (patch) | |
tree | 085a2a38528118f145003bed6191ac40d2bad6d5 /Modules | |
parent | c4089d84d8c958b25dd5772f9d8e28a26825c1bd (diff) | |
download | cpython-63cb99e4f0dfb1bff9cf9fa53efd5a7cca78c672.zip cpython-63cb99e4f0dfb1bff9cf9fa53efd5a7cca78c672.tar.gz cpython-63cb99e4f0dfb1bff9cf9fa53efd5a7cca78c672.tar.bz2 |
Bug #132816: Compiler warning in PYEXPAT.C for extra ';'
Removed trailing ";" in instances of "};" closing code blocks.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/pyexpat.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Modules/pyexpat.c b/Modules/pyexpat.c index 4f77351..39caab9 100644 --- a/Modules/pyexpat.c +++ b/Modules/pyexpat.c @@ -1080,9 +1080,9 @@ init_template_buffer(void) int i; for (i=0;i<256;i++) { template_buffer[i]=i; - }; + } template_buffer[256]=0; -}; +} int PyUnknownEncodingHandler(void *encodingHandlerData, @@ -1097,7 +1097,7 @@ XML_Encoding * info) if (_u_string==NULL) { return result; - }; + } for (i=0; i<256; i++) { Py_UNICODE c = _u_string->str[i] ; // Stupid to access directly, but fast @@ -1105,8 +1105,8 @@ XML_Encoding * info) info->map[i] = -1; } else { info->map[i] = c; - }; - }; + } + } info->data = NULL; info->convert = NULL; |