Fix clang static analyzer warning in StyleBuilderConverter.h
authorddkilzer@apple.com <ddkilzer@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 29 Oct 2018 17:53:46 +0000 (17:53 +0000)
committerddkilzer@apple.com <ddkilzer@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 29 Oct 2018 17:53:46 +0000 (17:53 +0000)
commitfee3ffc58f020210336023b90d480a7538d30034
treedf93825cfc4c0cfbea4e8ca52f8d61d91a1a89de
parentea8ee2513ff0ed2f377b43cb1ff5f4742b4f74ed
Fix clang static analyzer warning in StyleBuilderConverter.h
<https://webkit.org/b/190907>

Reviewed by Antti Koivisto.

Fix the following clang static warning in StyleBuilderConverter.h:
    Value stored to 'autoFlow' during its initialization is never read

* css/StyleBuilderConverter.h:
(WebCore::StyleBuilderConverter::convertGridAutoFlow): Move
assignment of RenderStyle::initialGridAutoFlow() to `default`
case.  Make `CSSValueDense` consistent with other cases by
assigning value to `autoFlow` instead of returning early.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@237557 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/css/StyleBuilderConverter.h