Clean up warning about constant value in loop.