From 5217407b8ffcd6c1b070daf20be6b472cce3f061 Mon Sep 17 00:00:00 2001 From: Simon Morlat Date: Mon, 9 Apr 2018 11:57:42 +0200 Subject: [PATCH] Remove useless code --- coreapi/linphonecore.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/coreapi/linphonecore.c b/coreapi/linphonecore.c index b0a4347fe..3e1807df0 100644 --- a/coreapi/linphonecore.c +++ b/coreapi/linphonecore.c @@ -2320,17 +2320,6 @@ void linphone_core_start (LinphoneCore *lc) { } } -#ifdef __ANDROID__ -static void _linphone_core_set_platform_helpers(LinphoneCore *lc, LinphonePrivate::PlatformHelpers *ph){ - if (lc->platform_helper) delete getPlatformHelpers(lc); - lc->platform_helper = ph; -} - -static void _linphone_core_set_system_context(LinphoneCore *lc, void *system_context){ - _linphone_core_set_platform_helpers(lc, LinphonePrivate::createAndroidPlatformHelpers(lc, system_context)); -} -#endif - LinphoneCore *_linphone_core_new_with_config(LinphoneCoreCbs *cbs, struct _LpConfig *config, void *userdata, void *system_context, bool_t automatically_start) { LinphoneCore *core = L_INIT(Core); Core::create(core);