Fix "unreachable code" warning