[Webkit-unassigned] [Bug 39778] [Qt] CookieJarQt.cpp has coding-style errors

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 4 22:11:26 PDT 2010


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





--- Comment #5 from Eric Seidel <eric at webkit.org>  2010-06-04 22:11:26 PST ---
(From update of attachment 57954)
Seems silly to not just make this a one-line function call now:
     QNetworkCookieJar* jar = cookieJar(document);
125      return (jar != 0);
 125     return jar;

You could use !!cookieJar(document)
to make it clear that your'e returnign a bool if you like.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list