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:28 +02:00
commit 7b3902a20f
1 changed files with 1 additions and 0 deletions

View File

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