diff --git a/ReactCommon/yoga/yoga/event/event.h b/ReactCommon/yoga/yoga/event/event.h index a50f8e4301fa80..fb81b8faa0d4b4 100644 --- a/ReactCommon/yoga/yoga/event/event.h +++ b/ReactCommon/yoga/yoga/event/event.h @@ -89,12 +89,7 @@ struct YOGA_EXPORT Event { template static void publish(const YGNode& node, const TypedData& eventData = {}) { -#ifdef YG_ENABLE_EVENTS publish(node, E, Data{eventData}); -#else - (void) node; - (void) eventData; -#endif } template