Kaydet (Commit) 1eb0cb12 authored tarafından 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.
üst 60a60677
...@@ -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