Summary: | -Wimplicit-fallthrough warning in ComputedStyleExtractor::propertyValue | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Michael Catanzaro <mcatanzaro> | ||||
Component: | CSS | Assignee: | Michael Catanzaro <mcatanzaro> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | achristensen, cdumez, commit-queue, koivisto, mcatanzaro, simon.fraser, webkit-bug-importer, zalan | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | Other | ||||||
Hardware: | PC | ||||||
OS: | All | ||||||
Bug Depends on: | |||||||
Bug Blocks: | 174463 | ||||||
Attachments: |
|
Description
Michael Catanzaro
2017-07-13 11:22:21 PDT
Anyone know how to fix this one? I don't think this is harmful. The switch in the previous block returns under every condition. Um, so it does. I'm surprised I missed that. Let's just silence the warning, then. Created attachment 317452 [details]
Patch
Comment on attachment 317452 [details]
Patch
Or maybe just return nullptr?
(In reply to Simon Fraser (smfr) from comment #6) > Comment on attachment 317452 [details] > Patch > > Or maybe just return nullptr? I assume that if we don't want that code to ever be hit, an assert is most appropriate? Comment on attachment 317452 [details]
Patch
Sure, i guess.
Comment on attachment 317452 [details] Patch Clearing flags on attachment: 317452 Committed r220354: <http://trac.webkit.org/changeset/220354> All reviewed patches have been landed. Closing bug. |