Checker: Value stored to 'kernResult' is never read (LayoutTestHelper.m:164)
authorddkilzer@apple.com <ddkilzer@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 20 Jul 2014 15:08:06 +0000 (15:08 +0000)
committerddkilzer@apple.com <ddkilzer@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 20 Jul 2014 15:08:06 +0000 (15:08 +0000)
commit38c70cf7d54c2ec8ae93304ee819ea9ff6b06b25
treed1487428fc4bc693761452390828f26e33876bb4
parent6180dbe44d8640cdc24039fd0afa41178828149e
Checker: Value stored to 'kernResult' is never read (LayoutTestHelper.m:164)
<http://webkit.org/b/135096>

Reviewed by Alexey Proskuryakov.

* DumpRenderTree/mac/LayoutTestHelper.m:
(lockDownDiscreteGraphics): Check the return values of
IOServiceOpen() and IOObjectRelease(), and log if not
KERN_SUCCESS.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@171277 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Tools/ChangeLog
Tools/DumpRenderTree/mac/LayoutTestHelper.m