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:
Christian Heimes 2013-07-22 16:34:13 +02:00
parent 60a6067709
commit 1eb0cb12ac
1 changed files with 1 additions and 0 deletions

View File

@ -56,5 +56,6 @@ PyGrammar_LabelRepr(label *lb)
}
else {
Py_FatalError("invalid label");
return NULL;
}
}