From d3f91908dd2c2ab79d16bfe235da34f2fc19c114 Mon Sep 17 00:00:00 2001 From: Neal Norwitz Date: Sat, 23 Sep 2006 04:11:38 +0000 Subject: Remove extra semi-colons reported by Johnny Lee on python-dev. Backport if anyone cares. --- Modules/almodule.c | 2 +- Modules/bz2module.c | 4 ++-- Python/pystate.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Modules/almodule.c b/Modules/almodule.c index fbeb13a..0a45d2e 100644 --- a/Modules/almodule.c +++ b/Modules/almodule.c @@ -1686,7 +1686,7 @@ al_GetParamInfo(PyObject *self, PyObject *args) { int res, param; ALparamInfo pinfo; - PyObject *v, *item;; + PyObject *v, *item; if (!PyArg_ParseTuple(args, "ii:GetParamInfo", &res, ¶m)) return NULL; diff --git a/Modules/bz2module.c b/Modules/bz2module.c index 24b2489..27a3827 100644 --- a/Modules/bz2module.c +++ b/Modules/bz2module.c @@ -1023,12 +1023,12 @@ BZ2File_seek(BZ2FileObject *self, PyObject *args) case MODE_CLOSED: PyErr_SetString(PyExc_ValueError, "I/O operation on closed file"); - goto cleanup;; + goto cleanup; default: PyErr_SetString(PyExc_IOError, "seek works only while reading"); - goto cleanup;; + goto cleanup; } if (where == 2) { diff --git a/Python/pystate.c b/Python/pystate.c index 639278f..cc25e3e 100644 --- a/Python/pystate.c +++ b/Python/pystate.c @@ -501,7 +501,7 @@ _PyGILState_Fini(void) { PyThread_delete_key(autoTLSkey); autoTLSkey = 0; - autoInterpreterState = NULL;; + autoInterpreterState = NULL; } /* When a thread state is created for a thread by some mechanism other than -- cgit v0.12