Fix for MSVC warning C4702: unreachable code.