Kaydet (Commit) a62db275 authored tarafından Neal Norwitz's avatar Neal Norwitz

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

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