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:
Nick Gerleman
2023-05-11 09:38:59 -07:00
committed by Facebook GitHub Bot
parent 9e1b14cd9e
commit 86d3ac031d
9 changed files with 139 additions and 127 deletions

View File

@@ -10,27 +10,27 @@
#include <yoga/Yoga.h>
static float _baselineFunc(
YGNodeRef node,
const float width,
YGNodeRef /*node*/,
const float /*width*/,
const float height) {
return height / 2;
}
static YGSize _measure1(
YGNodeRef node,
float width,
YGMeasureMode widthMode,
float height,
YGMeasureMode heightMode) {
YGNodeRef /*node*/,
float /*width*/,
YGMeasureMode /*widthMode*/,
float /*height*/,
YGMeasureMode /*heightMode*/) {
return YGSize{42, 50};
}
static YGSize _measure2(
YGNodeRef node,
float width,
YGMeasureMode widthMode,
float height,
YGMeasureMode heightMode) {
YGNodeRef /*node*/,
float /*width*/,
YGMeasureMode /*widthMode*/,
float /*height*/,
YGMeasureMode /*heightMode*/) {
return YGSize{279, 126};
}