[Webkit-unassigned] [Bug 118718] New: Don't warn about NULL usage in GTK functions even when a functional call spans multiple lines

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 16 00:38:20 PDT 2013


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

           Summary: Don't warn about NULL usage in GTK functions even when
                    a functional call spans multiple lines
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: skyul at company100.net


Bug 32858, 39372, 70498, 43090, 51758 and 77890 add exceptions to the null check rule of check-webkit-style so that check-webkit-style won't warn about NULL usage in some GTK functions such as g_*() and gst_().

However, the implementation of the null check in check-webkit-style only matches one line at a time so that it fails to match if a function spans multiple lines. For example, check-webkit-style emits a style error if g_object_set spans multiple lines as in https://bugs.webkit.org/show_bug.cgi?id=118657#c20

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