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
@@ -10,11 +10,11 @@
|
||||
#include <yoga/Yoga.h>
|
||||
|
||||
static YGSize _measureFloor(
|
||||
YGNodeRef node,
|
||||
YGNodeRef /*node*/,
|
||||
float width,
|
||||
YGMeasureMode widthMode,
|
||||
YGMeasureMode /*widthMode*/,
|
||||
float height,
|
||||
YGMeasureMode heightMode) {
|
||||
YGMeasureMode /*heightMode*/) {
|
||||
return YGSize{
|
||||
width = 10.2f,
|
||||
height = 10.2f,
|
||||
@@ -22,11 +22,11 @@ static YGSize _measureFloor(
|
||||
}
|
||||
|
||||
static YGSize _measureCeil(
|
||||
YGNodeRef node,
|
||||
YGNodeRef /*node*/,
|
||||
float width,
|
||||
YGMeasureMode widthMode,
|
||||
YGMeasureMode /*widthMode*/,
|
||||
float height,
|
||||
YGMeasureMode heightMode) {
|
||||
YGMeasureMode /*heightMode*/) {
|
||||
return YGSize{
|
||||
width = 10.5f,
|
||||
height = 10.5f,
|
||||
@@ -34,11 +34,11 @@ static YGSize _measureCeil(
|
||||
}
|
||||
|
||||
static YGSize _measureFractial(
|
||||
YGNodeRef node,
|
||||
YGNodeRef /*node*/,
|
||||
float width,
|
||||
YGMeasureMode widthMode,
|
||||
YGMeasureMode /*widthMode*/,
|
||||
float height,
|
||||
YGMeasureMode heightMode) {
|
||||
YGMeasureMode /*heightMode*/) {
|
||||
return YGSize{
|
||||
width = 0.5f,
|
||||
height = 0.5f,
|
||||
|
Reference in New Issue
Block a user