Bug 91636

Summary: [Soup] Unnecessary RefPtr usage and null check
Product: WebKit Reporter: Gustavo Noronha (kov) <gustavo>
Component: New BugsAssignee: Gustavo Noronha (kov) <gustavo>
Status: RESOLVED FIXED    
Severity: Normal CC: danw, mrobinson, rakuco, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch mrobinson: review+

Gustavo Noronha (kov)
Reported 2012-07-18 10:17:23 PDT
[Soup] Unnecessary RefPtr usage and null check
Attachments
Patch (1.78 KB, patch)
2012-07-18 10:22 PDT, Gustavo Noronha (kov)
mrobinson: review+
Gustavo Noronha (kov)
Comment 1 2012-07-18 10:22:05 PDT
Martin Robinson
Comment 2 2012-07-18 22:13:27 PDT
Comment on attachment 153037 [details] Patch Hrm. Why is the check unnecessary? The comment seems to suggest otherwise?
Gustavo Noronha (kov)
Comment 3 2012-07-19 05:28:15 PDT
Well, the function ends just after the check, so there's nothing else it could be doing other than return either way =)
Martin Robinson
Comment 4 2012-07-19 11:54:45 PDT
Comment on attachment 153037 [details] Patch Good point!
Gustavo Noronha (kov)
Comment 5 2012-07-20 14:41:31 PDT
Note You need to log in before you can comment on or make changes to this bug.