WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
31215
check-webkit-style should not warn about NULL in comments
https://bugs.webkit.org/show_bug.cgi?id=31215
Summary
check-webkit-style should not warn about NULL in comments
Eric Seidel (no email)
Reported
2009-11-06 15:07:25 PST
check-webkit-style should not warn about NULL in comments example: // Opens a database file; dirHandle should be NULL if the caller does not need
Attachments
Add attachment
proposed patch, testcase, etc.
David Levin
Comment 1
2009-11-06 15:24:46 PST
Actually it is by design that it complains about NULL in comments. It was following the lead of some other WK reviews, that since NULL isn't in the code, it seems odd to have it in comments. Shouldn't it say 0 in the comment below? (I mean NULL wouldn't appear in the code.)
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug