Bug 308455
| Summary: | Fix compiler warning in SequesteredImmortalHeap.h | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Chris Dumez <cdumez> |
| Component: | Web Template Framework | Assignee: | Chris Dumez <cdumez> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Chris Dumez
Fix compiler warning in SequesteredImmortalHeap.h:
```
/Volumes/Work/WebKit/OpenSource/WebKitBuild/Debug/usr/local/include/wtf/SequesteredImmortalHeap.h:118:13: warning: Value stored to 'newAllocHead' is never read [deadcode.DeadStores]
118 | newAllocHead = reinterpret_cast<void*>(m_allocHead);
/Volumes/Work/WebKit/OpenSource/WebKitBuild/Debug/usr/local/include/wtf/SequesteredImmortalHeap.h:135:13: warning: Value stored to 'newAllocHead' is never read [deadcode.DeadStores]
135 | newAllocHead = reinterpret_cast<void*>(m_allocHead);
2 warnings generated.
```
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Chris Dumez
Pull request: https://github.com/WebKit/WebKit/pull/59230
EWS
Committed 308073@main (00500122071e): <https://commits.webkit.org/308073@main>
Reviewed commits have been landed. Closing PR #59230 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/171017627>