Remove "for (;;)" loop that never looped It would either return or break at the end, so just remove the loop, it is not needed.