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:
parent
60a6067709
commit
1eb0cb12ac
|
@ -56,5 +56,6 @@ PyGrammar_LabelRepr(label *lb)
|
|||
}
|
||||
else {
|
||||
Py_FatalError("invalid label");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue