Remove compiler warning; empty while blocks.