Simplify a loop in ProcessCodeCompleteResults().  Pointed out by David Blaikie