mirror of https://github.com/python/cpython
Some compilers complain about 'control reaches end of non-void function'
because they don't understand that Py_FatalError() terminates the program.
This commit is contained in:
commit
7b3902a20f
|
@ -56,5 +56,6 @@ PyGrammar_LabelRepr(label *lb)
|
|||
}
|
||||
else {
|
||||
Py_FatalError("invalid label");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue