Apply fixes from clag-tidy misc-unused-parameters
Summary: Gets the project clean of `-Wunused-parameter`, part of `-Wextra`. Enforced as part of the build now. Differential Revision: https://internalfb.com/D45772554 fbshipit-source-id: e7ec6f4047b3994c3615a4557ffc4f3677f9c1e6
This commit is contained in:
committed by
Facebook GitHub Bot
parent
9e1b14cd9e
commit
86d3ac031d
@@ -9,7 +9,10 @@
|
||||
#include <yoga/YGNode.h>
|
||||
#include <yoga/Yoga.h>
|
||||
|
||||
static float _baseline(YGNodeRef node, const float width, const float height) {
|
||||
static float _baseline(
|
||||
YGNodeRef node,
|
||||
const float /*width*/,
|
||||
const float /*height*/) {
|
||||
float* baseline = (float*) node->getContext();
|
||||
return *baseline;
|
||||
}
|
||||
|
Reference in New Issue
Block a user