diff Python/ceval.c @ 19600:1cece743a708 legacy-trunk

Removed some unreachable break statements to silence SGI compiler.
author Sjoerd Mullender <sjoerd@acm.org>
date Thu, 30 Aug 2001 14:05:20 +0000
parents c140bd7d3bdc
children 8f035800a373
line wrap: on
line diff
--- a/Python/ceval.c	Thu Aug 30 13:58:58 2001 +0000
+++ b/Python/ceval.c	Thu Aug 30 14:05:20 2001 +0000
@@ -3049,7 +3049,6 @@
 			Py_DECREF(args);
 			return result;
 		}
-		break;
 	case METH_NOARGS:
 		if (na == 0)
 			return (*meth)(self, NULL);
@@ -3057,7 +3056,6 @@
 			     "%.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 @@
 			     "%.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);