| Summary: | Checker: Value stored to 'kernResult' is never read (LayoutTestHelper.m:164) | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | David Kilzer (:ddkilzer) <ddkilzer> | ||||||||||||
| Component: | Tools / Tests | Assignee: | David Kilzer (:ddkilzer) <ddkilzer> | ||||||||||||
| Status: | RESOLVED FIXED | ||||||||||||||
| Severity: | Normal | CC: | aestes, andersca, ap, benjamin, buildbot, rniwa, simon.fraser, thorton | ||||||||||||
| Priority: | P2 | ||||||||||||||
| Version: | 528+ (Nightly build) | ||||||||||||||
| Hardware: | Unspecified | ||||||||||||||
| OS: | Unspecified | ||||||||||||||
| Attachments: |
|
||||||||||||||
Created attachment 235171 [details]
Patch v1
Comment on attachment 235171 [details]
Patch v1
/Volumes/Data/EWS/WebKit/Tools/DumpRenderTree/mac/LayoutTestHelper.m:171:5: error: implicit declaration of function 'ASSERT_UNUSED' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ASSERT_UNUSED(kernResult, kernResult == KERN_SUCCESS);
Created attachment 235173 [details]
Patch for EWS
Created attachment 235175 [details]
Patch for EWS v2
Comment on attachment 235175 [details] Patch for EWS v2 Attachment 235175 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.appspot.com/results/4541862459211776 New failing tests: media/W3C/video/networkState/networkState_during_loadstart.html Created attachment 235177 [details]
Archive of layout-test-results from webkit-ews-11 for mac-mountainlion-wk2
The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews.
Bot: webkit-ews-11 Port: mac-mountainlion-wk2 Platform: Mac OS X 10.8.5
Comment on attachment 235175 [details] Patch for EWS v2 Attachment 235175 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.appspot.com/results/4957766691061760 New failing tests: media/W3C/video/src/src_reflects_attribute_not_source_elements.html Created attachment 235178 [details]
Archive of layout-test-results from webkit-ews-10 for mac-mountainlion-wk2
The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews.
Bot: webkit-ews-10 Port: mac-mountainlion-wk2 Platform: Mac OS X 10.8.5
Committed r171277: <http://trac.webkit.org/changeset/171277> (In reply to comment #9) > Committed r171277: <http://trac.webkit.org/changeset/171277> Had to change the last ASSERT_UNUSED() to an if statement that called NSLog if the call to IOObjectRelease() fails. |
Clang static analyzer warning in LayoutTestHelper.m:164: kernResult = IOServiceOpen(serviceObject, mach_task_self(), 1, &permanentLockDownService); ^ Value stored to 'kernResult' is never read