Commit 1eb0cb12 authored by Christian Heimes's avatar Christian Heimes

Some compilers complain about 'control reaches end of non-void function'

because they don't understand that Py_FatalError() terminates the program.
parent 60a60677
......@@ -56,5 +56,6 @@ PyGrammar_LabelRepr(label *lb)
}
else {
Py_FatalError("invalid label");
return NULL;
}
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment