[issue14656] Add a macro for unreachable code
Martin v. Löwis
report at bugs.python.org
Wed May 2 08:56:38 CEST 2012
Martin v. Löwis <martin at v.loewis.de> added the comment:
Sorry, I missed the patch. I still fail to see the problem that this solves: what compiler produces "control reaches end of non-void function without return" for the current code? ISTM that your patch has the potential of *introducing* such a warning on some compilers, since you are removing the return statement (and the compiler may not be smart enough to determine that Py_FatalError does not return).
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14656>
_______________________________________
More information about the Python-bugs-list
mailing list