Avoid unreachable code warning on Windows
commitb0499c6bea41c2f0bdc07600ca44a98155e08495
authorScott Graham <scottmg@chromium.org>
Mon, 12 Jan 2015 17:06:17 +0000 (12 09:06 -0800)
committerScott Graham <scottmg@chromium.org>
Mon, 12 Jan 2015 17:07:49 +0000 (12 17:07 +0000)
treea29ce8d034552416c1a2241d2ce44119d2d7f925
parent94a2b6f17db57f32110678e527a494a87318edf2
Avoid unreachable code warning on Windows

Attempt to avoid

FAILED: ninja -t msvc -e environment.x86 -- C:\b\build\goma/gomacc "C:\b\depot_tools\win_toolchain\vs2013_files\VC\bin\amd64_x86\cl.exe" /nologo /showIncludes /FC @obj\components\history\content\browser\history_content_browser.download_constants_utils.obj.rsp /c ..\..\components\history\content\browser\download_constants_utils.cc /Foobj\components\history\content\browser\history_content_browser.download_constants_utils.obj /Fdobj\components\history_content_browser.cc.pdb
c:\b\build\slave\win\build\src\components\history\content\browser\download_constants_utils.cc(105) :error C2220: warning treated as error - no 'object' file generated
c:\b\build\slave\win\build\src\components\history\content\browser\download_constants_utils.cc(105) : warning C4702: unreachable code
c:\b\build\slave\win\build\src\components\history\content\browser\download_constants_utils.cc(106) : warning C4702: unreachable code

Hopefully this doesn't cause warnings on other platforms?

TBR=sdefresne@chromium.org,erg@chromium.org,mark@chromium.org

Review URL: https://codereview.chromium.org/848713002

Cr-Commit-Position: refs/heads/master@{#311059}
components/history/content/browser/download_constants_utils.cc