Attmept to fix the Windows build following <https://trac.webkit.org/changeset/230602/>
authordbates@webkit.org <dbates@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 13 Apr 2018 00:11:06 +0000 (00:11 +0000)
committerdbates@webkit.org <dbates@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 13 Apr 2018 00:11:06 +0000 (00:11 +0000)
commit96e6bfe286036a47fa5b32d468db45de1b81f5e5
treec66dabb0e2c0a875e9ba95d3bb0669bcff2d20bd
parent6812ae6f82fcc21c5160fc190b4c6ddedd13c4f8
Attmept to fix the Windows build following <https://trac.webkit.org/changeset/230602/>
(https://bugs.webkit.org/show_bug.cgi?id=184386)

Visual Studio cannot prove that all cases in the switch are covered :(
So, add an ASSERT_NOT_REACHED() and a return a value outside of the switch block.

* loader/cache/CachedResourceLoader.cpp:
(WebCore::destinationForType):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@230616 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/loader/cache/CachedResourceLoader.cpp