Commit 7b3902a2 authored by Christian Heimes's avatar Christian Heimes

Some compilers complain about 'control reaches end of non-void function'

because they don't understand that Py_FatalError() terminates the program.
parents de0e63bd 1eb0cb12
...@@ -56,5 +56,6 @@ PyGrammar_LabelRepr(label *lb) ...@@ -56,5 +56,6 @@ PyGrammar_LabelRepr(label *lb)
} }
else { else {
Py_FatalError("invalid label"); Py_FatalError("invalid label");
return NULL;
} }
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment