From a863d334aa7c9d81daea4f6b9800e8245779dc44 Mon Sep 17 00:00:00 2001 From: Anthony Baxter Date: Tue, 11 Apr 2006 07:43:46 +0000 Subject: low-hanging fruit in Python/ - g++ still hates all the enum_kind declarations in Python/Python-ast.c. Not sure what to do about those. --- Python/Python-ast.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Python/Python-ast.c') diff --git a/Python/Python-ast.c b/Python/Python-ast.c index 792f81db89..b8c1925fcc 100644 --- a/Python/Python-ast.c +++ b/Python/Python-ast.c @@ -2328,6 +2328,8 @@ ast2obj_stmt(void* _o) result = PyType_GenericNew(Continue_type, NULL, NULL); if (!result) goto failed; break; + default: + ; } value = ast2obj_int(o->lineno); if (!value) goto failed; -- cgit v1.2.1