Mercurial > hg
diff i18n/hggettext @ 27364:ad1cc1435b13
parsers: simplify error logic in compute_phases_map_sets
Since Py_XDECREF and free both accept NULL pointers, we can get by
with just two exit paths: one for success, and one for error.
This considerably simplifies reasoning about the possible ways to
exit from this function.
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Mon, 14 Dec 2015 10:47:24 -0800 |
parents | 80deae3bc5ea |
children | 2516bba643e7 |