From fca2fd2e1e110aaae2b6be547ecb80c56dc9ff33 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Thu, 11 May 2017 14:55:59 +0200 Subject: [PATCH] fix(account_creator): remove useless vars --- coreapi/account_creator.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/coreapi/account_creator.c b/coreapi/account_creator.c index f9bcff7a3..36b3bc765 100644 --- a/coreapi/account_creator.c +++ b/coreapi/account_creator.c @@ -115,21 +115,11 @@ LinphoneProxyConfig * linphone_account_creator_create_proxy_config(const Linphon LinphoneProxyConfig *cfg = linphone_core_create_proxy_config(creator->core); char *identity_str = _get_identity(creator); LinphoneAddress *identity = linphone_address_new(identity_str); - char *route = NULL; - char *domain = NULL; ms_free(identity_str); if (creator->display_name) { linphone_address_set_display_name(identity, creator->display_name); } - /*deprecated, use default proxy config instead*/ - if (creator->route) { - route = ms_strdup_printf("%s", creator->route); - } - /*deprecated, use default proxy config instead*/ - if (creator->domain) { - domain = ms_strdup_printf("%s;transport=%s", creator->domain, linphone_transport_to_string(creator->transport)); - } linphone_proxy_config_set_identity_address(cfg, identity); if (creator->phone_country_code) { linphone_proxy_config_set_dial_prefix(cfg, creator->phone_country_code);