[Webkit-unassigned] [Bug 125001] New: [WebGL] Unnecessary condition check in the while loop

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 28 23:20:24 PST 2013


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

           Summary: [WebGL] Unnecessary condition check in the while loop
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebGL
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: p.szymanski3 at samsung.com


In this situation a while loop needs to make an unnecessary check at the begining. This loop is designed to make at least one iteration. In this case a better option is to use do-while. And it is also a good practice not to make such code.

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