In D10462, I swapped the test around to get rid of gcc 4.2's warning
about usr.bin/diff/diffreg.c. However, @brooks noted similarly to
what I said there, that re-using i is pretty confusing.
So here's another approach: store the return value from fetch() in a
dedicated variable f, and initialize it to zero before the if.