[webkit-changes] [WebKit/WebKit] 45dd41: Add missing `self = [super init]` statements

Chris Dumez noreply at github.com
Tue Sep 19 08:19:25 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 45dd419f3fea1f19ac6e03c71faad7533eb77cd2
      https://github.com/WebKit/WebKit/commit/45dd419f3fea1f19ac6e03c71faad7533eb77cd2
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2023-09-19 (Tue, 19 Sep 2023)

  Changed paths:
    M Source/WebKit/Shared/Cocoa/ArgumentCodersCocoa.mm
    M Tools/TestWebKitAPI/Tests/WebKitCocoa/SOAuthorizationTests.mm

  Log Message:
  -----------
  Add missing `self = [super init]` statements
https://bugs.webkit.org/show_bug.cgi?id=261714

Reviewed by Wenson Hsieh.

Add missing `self = [super init]` statements. Those were reported by the static
analyzer.

* Source/WebKit/Shared/Cocoa/ArgumentCodersCocoa.mm:
(-[WKSecureCodingURLWrapper initWithCoder:]):
(-[WKSecureCodingCGColorWrapper initWithCoder:]):
* Tools/TestWebKitAPI/Tests/WebKitCocoa/SOAuthorizationTests.mm:
(-[TestSOAuthorizationScriptMessageHandler initWithExpectation:]):

Canonical link: https://commits.webkit.org/268125@main




More information about the webkit-changes mailing list