-Wunused-variable in RenderLayer::updateScrollableAreaSet
authormcatanzaro@igalia.com <mcatanzaro@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 3 Oct 2018 11:03:48 +0000 (11:03 +0000)
committermcatanzaro@igalia.com <mcatanzaro@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 3 Oct 2018 11:03:48 +0000 (11:03 +0000)
commit4de994b2548989a633f8aa3b8360d68142709c5f
treea0ad70a806d517e4de4fa4a885a4c43d60304d0d
parentb4b30c37815daae64522422718d21b1b8d878636
-Wunused-variable in RenderLayer::updateScrollableAreaSet
https://bugs.webkit.org/show_bug.cgi?id=190200

Reviewed by Yusuke Suzuki.

Source/WebCore:

Pass it through UNUSED_VARIABLE().

* rendering/RenderLayer.cpp:
(WebCore::RenderLayer::calculateClipRects const):

Source/WTF:

Add a new UNUSED_VARIABLE() macro. It's the same as UNUSED_PARAM(), just named differently.

* wtf/Compiler.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236790 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WTF/ChangeLog
Source/WTF/wtf/Compiler.h
Source/WebCore/ChangeLog
Source/WebCore/rendering/RenderLayer.cpp