[Webkit-unassigned] [Bug 210427] New: Fix clang static analyzer warnings about unused instance variables in WebIconDatabase, WKView

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 13 08:15:18 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=210427

            Bug ID: 210427
           Summary: Fix clang static analyzer warnings about unused
                    instance variables in WebIconDatabase, WKView
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
               URL: https://clang-analyzer.llvm.org/faq.html#unused_ivar
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit API
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ddkilzer at webkit.org
                CC: darin at apple.com

Fix clang static analyzer warnings about unused instance variables in WebIconDatabase, WKView.

Documentation says that __attribute__((unused)) should be used for this purpose:
<https://clang-analyzer.llvm.org/faq.html#unused_ivar>

Note that __attribute__((unused)) is already defined as UNUSED_FUNCTION in Compiler.h, but it's used for a different purpose: to denote unused parameters in a function definition in these source files:

Source/WTF/wtf/AggregateLogger.h
Source/WTF/wtf/Logger.h

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200413/2c326d5e/attachment.htm>


More information about the webkit-unassigned mailing list