mirror of
https://github.com/python/cpython.git
synced 2025-11-01 02:38:53 +00:00
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
1 changed files with 1 additions and 0 deletions
|
|
@ -56,5 +56,6 @@ PyGrammar_LabelRepr(label *lb)
|
|||
}
|
||||
else {
|
||||
Py_FatalError("invalid label");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue