diff options
author | Christian Heimes <christian@cheimes.de> | 2013-07-22 16:34:13 +0200 |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2013-07-22 16:34:13 +0200 |
commit | b69651179a1ac37b3e959a404388ce9fc1b273f8 (patch) | |
tree | 643100ef67686e6bff305740d43ad15468d855ad /Parser/grammar1.c | |
parent | b1ad408098529bbadd56ecae29ea873d734c618a (diff) | |
download | cpython-b69651179a1ac37b3e959a404388ce9fc1b273f8.tar.gz |
Some compilers complain about 'control reaches end of non-void function'
because they don't understand that Py_FatalError() terminates the program.
Diffstat (limited to 'Parser/grammar1.c')
-rw-r--r-- | Parser/grammar1.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Parser/grammar1.c b/Parser/grammar1.c index 17e2ba9f92..440ba44cb0 100644 --- a/Parser/grammar1.c +++ b/Parser/grammar1.c @@ -56,5 +56,6 @@ PyGrammar_LabelRepr(label *lb) } else { Py_FatalError("invalid label"); + return NULL; } } |