Commit a62db275 authored by Neal Norwitz's avatar Neal Norwitz

Restore an assert, but move it to the proper place.

parent 7f9d29c6
......@@ -9194,7 +9194,7 @@ formatteriter_next(formatteriterobject *it)
/* all of the SubString objects point into it->str, so no
memory management needs to be done on them */
assert(0 <= result && result <= 2);
if (result == 0) {
/* error has already been set */
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