From 1ffdebe697676e872cefae37caeb4e3e7f10eced Mon Sep 17 00:00:00 2001 From: Abhishek Pandey <64667840+1abhishekpandey@users.noreply.github.com> Date: Thu, 14 Dec 2023 17:12:39 +0530 Subject: [PATCH] fxi: address sonarcloud issue --- Sources/Classes/RSDeviceModeManager.m | 1 - 1 file changed, 1 deletion(-) diff --git a/Sources/Classes/RSDeviceModeManager.m b/Sources/Classes/RSDeviceModeManager.m index 2ff99890..84cb358d 100644 --- a/Sources/Classes/RSDeviceModeManager.m +++ b/Sources/Classes/RSDeviceModeManager.m @@ -161,7 +161,6 @@ - (void) handleCallbacks:(NSString*)key withIntegration:(id)nativ callback(nativeInstance); } else { [RSLogger logDebug:[[NSString alloc] initWithFormat:@"RSDeviceModeManager: handleCallbacks: Either underlying instance or callback for %@ factory is nil", key]]; - callback(nil); } } else { [RSLogger logError:[[NSString alloc] initWithFormat:@"RSDeviceModeManager: handleCallbacks: getUnderlyingInstance for %@ factory is not found", key]];