[Webkit-unassigned] [Bug 53755] check-webkit-style complains about the occurrence of "NULL" in comments

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 4 09:44:32 PST 2011


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


David Levin <levin at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID
                 CC|                            |levin at chromium.org




--- Comment #1 from David Levin <levin at chromium.org>  2011-02-04 09:44:32 PST ---
Intentional behavior and specifically coded this way in fact.

The reasoning has been that NULL is not allowed in code so it doesn't make sense in comments. For example, in bug 53749, the comment says that a parameter may be NULL. That really isn't true because if code were to pass in NULL, it would be a style error. The parameter may be 0 in fact.

-- 
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