Bug 202153 - Address static analysis warning in DataLog.cpp: Value stored to 'pathCharactersAvailable' is never read
Summary: Address static analysis warning in DataLog.cpp: Value stored to 'pathCharacte...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Template Framework (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Keith Rollin
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-09-24 12:08 PDT by Keith Rollin
Modified: 2020-04-02 11:45 PDT (History)
10 users (show)

See Also:


Attachments
Patch (1.84 KB, patch)
2019-09-24 12:11 PDT, Keith Rollin
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Keith Rollin 2019-09-24 12:08:17 PDT
Bug 168914 introduce some code that will initialize a variable to zero, but then never use that variable afterwards. Address this by removing the assignment.
Comment 1 Radar WebKit Bug Importer 2019-09-24 12:08:32 PDT
<rdar://problem/55671845>
Comment 2 Keith Rollin 2019-09-24 12:11:04 PDT
Created attachment 379464 [details]
Patch
Comment 3 David Kilzer (:ddkilzer) 2020-04-02 11:21:46 PDT
Hah!  I was just about to fix this, and found this bug.  Thanks Keith!

Feel free to cq+.
Comment 4 David Kilzer (:ddkilzer) 2020-04-02 11:39:01 PDT
This is also the _last_ static analyzer warning in WTF for the version of the clang static analyzer we're running!
Comment 5 EWS 2020-04-02 11:45:03 PDT
Committed r259400: <https://trac.webkit.org/changeset/259400>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 379464 [details].