summaryrefslogtreecommitdiffstats
path: root/Python/ceval.c
diff options
context:
space:
mode:
authorSjoerd Mullender <sjoerd@acm.org>2001-08-30 14:05:20 (GMT)
committerSjoerd Mullender <sjoerd@acm.org>2001-08-30 14:05:20 (GMT)
commit2f38f81fec40071cb781b552f781de90366d0189 (patch)
treee6811afb9704175c6f01bb95a8c46134b7aba40d /Python/ceval.c
parent38b88c233a6706d3a84f372e4b20ab7700f6d79b (diff)
downloadcpython-2f38f81fec40071cb781b552f781de90366d0189.zip
cpython-2f38f81fec40071cb781b552f781de90366d0189.tar.gz
cpython-2f38f81fec40071cb781b552f781de90366d0189.tar.bz2
Removed some unreachable break statements to silence SGI compiler.
Diffstat (limited to 'Python/ceval.c')
-rw-r--r--Python/ceval.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/Python/ceval.c b/Python/ceval.c
index c9c9bf1..cb95aaa 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -3049,7 +3049,6 @@ fast_cfunction(PyObject *func, PyObject ***pp_stack, int na)
Py_DECREF(args);
return result;
}
- break;
case METH_NOARGS:
if (na == 0)
return (*meth)(self, NULL);
@@ -3057,7 +3056,6 @@ fast_cfunction(PyObject *func, PyObject ***pp_stack, int na)
"%.200s() takes no arguments (%d given)",
((PyCFunctionObject*)func)->m_ml->ml_name, na);
return NULL;
- break;
case METH_O:
if (na == 1) {
PyObject *arg = EXT_POP(*pp_stack);
@@ -3069,7 +3067,6 @@ fast_cfunction(PyObject *func, PyObject ***pp_stack, int na)
"%.200s() takes exactly one argument (%d given)",
((PyCFunctionObject*)func)->m_ml->ml_name, na);
return NULL;
- break;
default:
fprintf(stderr, "%.200s() flags = %d\n",
((PyCFunctionObject*)func)->m_ml->ml_name, flags);