diff --git a/ReactCommon/yoga/yoga/YGValue.h b/ReactCommon/yoga/yoga/YGValue.h index 4e43f7b2f4..59440be3ca 100644 --- a/ReactCommon/yoga/yoga/YGValue.h +++ b/ReactCommon/yoga/yoga/YGValue.h @@ -44,7 +44,6 @@ inline bool operator==(const YGValue& lhs, const YGValue& rhs) { return true; case YGUnitPoint: case YGUnitPercent: - default: return lhs.value == rhs.value; } }