diff options
author | Christian Heimes <christian@cheimes.de> | 2013-07-22 14:34:13 (GMT) |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2013-07-22 14:34:13 (GMT) |
commit | 1eb0cb12ac3a805a6966d60105a836764d08ff7b (patch) | |
tree | 2d47350788577fb8d9f704ce1c1db973257c07d1 /Parser/grammar1.c | |
parent | 60a60677093e2792439c9e34debe6d55feead63f (diff) | |
download | cpython-1eb0cb12ac3a805a6966d60105a836764d08ff7b.zip cpython-1eb0cb12ac3a805a6966d60105a836764d08ff7b.tar.gz cpython-1eb0cb12ac3a805a6966d60105a836764d08ff7b.tar.bz2 |
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 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; } } |