[Libguestfs] [PATCH 2/5] Avoid gcc warnings about infinite loop.