Bug 59758

Summary: Fix static analyzer warnings for missing assignment to 'self' in -init methods
Product: WebKit Reporter: David Kilzer (:ddkilzer) <ddkilzer>
Component: WebKit Misc.Assignee: David Kilzer (:ddkilzer) <ddkilzer>
Status: RESOLVED FIXED    
Severity: Normal CC: andersca, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Other   
OS: OS X 10.5   
Attachments:
Description Flags
Patch andersca: review+

Description David Kilzer (:ddkilzer) 2011-04-28 16:19:20 PDT
Created attachment 91584 [details]
Patch

Reviewed by NOBODY (OOPS!).

* History/WebHistory.mm:
(-[WebHistoryPrivate init]):
* Misc/WebElementDictionary.mm:
(-[WebElementDictionary initWithHitTestResult:]):
* Misc/WebIconDatabase.mm:
(-[WebIconDatabase init]):
* Plugins/WebPluginController.mm:
(-[WebPluginController initWithDocumentView:]):
* Plugins/WebPluginRequest.m:
(-[WebPluginRequest initWithRequest:frameName:notifyData:sendNotification:didStartFromUserGesture:]):
* WebCoreSupport/WebEditorClient.mm:
(-[WebEditCommand initWithEditCommand:]):
* WebCoreSupport/WebJavaScriptTextInputPanel.m:
(-[WebJavaScriptTextInputPanel initWithPrompt:text:]):
* WebView/WebNavigationData.mm:
(-[WebNavigationData initWithURLString:title:originalRequest:response:hasSubstituteData:clientRedirectSource:]):
---
 9 files changed, 46 insertions(+), 7 deletions(-)
Comment 1 WebKit Review Bot 2011-04-28 16:22:11 PDT
Attachment 91584 [details] did not pass style-queue:

Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebKit/mac/ChangeLog', u'Source/Web..." exit_code: 1

Source/WebKit/mac/ChangeLog:1:  ChangeLog entry has no bug number  [changelog/bugnumber] [5]
Total errors found: 1 in 9 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 2 Anders Carlsson 2011-04-28 16:38:48 PDT
Comment on attachment 91584 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=91584&action=review

> Source/WebKit/mac/ChangeLog:3
> +        <http://webkit.org/b/00000> Fix static analyzer warnings for missing assignment to 'self' in -init methods

This should be a valid bug number of course :)
Comment 3 David Kilzer (:ddkilzer) 2011-04-28 21:58:48 PDT
Committed r85302: <http://trac.webkit.org/changeset/85302>