diff --git a/yoga/YGValue.h b/yoga/YGValue.h index 63c82f3d..b7c4ba25 100644 --- a/yoga/YGValue.h +++ b/yoga/YGValue.h @@ -72,9 +72,9 @@ inline bool operator==(const YGValue& lhs, const YGValue& rhs) { case YGUnitPoint: case YGUnitPercent: return lhs.value == rhs.value; + default: + return false; } - - return false; } inline bool operator!=(const YGValue& lhs, const YGValue& rhs) {