From d29572d629fec1b4b524999fcf047b220757ad4d Mon Sep 17 00:00:00 2001 From: Rob Hogan Date: Wed, 27 Mar 2024 09:15:22 -0700 Subject: [PATCH] Delete unused RCT_ENABLE_LOADING_FROM_PACKAGER (#43677) Summary: Remove `RCT_ENABLE_LOADING_FROM_PACKAGER` from `RCTDefines`, as it is not referenced anywhere and does nothing. Changelog: [Internal] Reviewed By: hoxyq Differential Revision: D55421282 --- packages/react-native/React/Base/RCTDefines.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/packages/react-native/React/Base/RCTDefines.h b/packages/react-native/React/Base/RCTDefines.h index 598d178874413f..ed038680a4146c 100644 --- a/packages/react-native/React/Base/RCTDefines.h +++ b/packages/react-native/React/Base/RCTDefines.h @@ -91,15 +91,6 @@ #define RCT_DEV_MENU RCT_DEV #endif -/** - * Controls for the core packgaer loading functionality - * By default, this inherits from RCT_DEV_MENU but it also gives the capability to - * enable the packager functionality without the rest of the dev tools from RCT_DEV_MENU - */ -#ifndef RCT_ENABLE_LOADING_FROM_PACKAGER -#define RCT_ENABLE_LOADING_FROM_PACKAGER RCT_DEV_MENU -#endif - #ifndef RCT_DEV_SETTINGS_ENABLE_PACKAGER_CONNECTION #if RCT_DEV && (__has_include("RCTPackagerConnection.h") || __has_include()) #define RCT_DEV_SETTINGS_ENABLE_PACKAGER_CONNECTION 1