From 1eb0cb12ac3a805a6966d60105a836764d08ff7b Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Mon, 22 Jul 2013 16:34:13 +0200 Subject: Some compilers complain about 'control reaches end of non-void function' because they don't understand that Py_FatalError() terminates the program. --- Parser/grammar1.c | 1 + 1 file changed, 1 insertion(+) diff --git a/Parser/grammar1.c b/Parser/grammar1.c index 17e2ba9..440ba44 100644 --- a/Parser/grammar1.c +++ b/Parser/grammar1.c @@ -56,5 +56,6 @@ PyGrammar_LabelRepr(label *lb) } else { Py_FatalError("invalid label"); + return NULL; } } -- cgit v0.12