From 03ced00d8ba55fbb7fe6e76d4d0eb2a64f7eb8d8 Mon Sep 17 00:00:00 2001 From: Seonah Moon Date: Tue, 4 Apr 2017 10:33:38 +0900 Subject: [PATCH 1/1] [WGID-199988] Remove unreachable code Change-Id: Ib77c3194ac30d2ec7849a122cfa4626c7ab450f0 Signed-off-by: Seonah Moon --- packaging/capi-network-connection.spec | 2 +- src/connection_profile.c | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/packaging/capi-network-connection.spec b/packaging/capi-network-connection.spec index 73a55fa..93ab4b0 100755 --- a/packaging/capi-network-connection.spec +++ b/packaging/capi-network-connection.spec @@ -1,6 +1,6 @@ Name: capi-network-connection Summary: Network Connection library in TIZEN C API -Version: 1.0.100 +Version: 1.0.101 Release: 1 Group: System/Network License: Apache-2.0 diff --git a/src/connection_profile.c b/src/connection_profile.c index a44c912..4b4dfbf 100755 --- a/src/connection_profile.c +++ b/src/connection_profile.c @@ -681,8 +681,6 @@ EXPORT_API int connection_profile_get_dns_address(connection_profile_h profile, else if (address_family == CONNECTION_ADDRESS_FAMILY_IPV6) //LCOV_EXCL_LINE *dns_address = __profile_convert_ip_to_string(&net_info->DnsAddr6[order-1], //LCOV_EXCL_LINE address_family); - else - CONNECTION_LOG(CONNECTION_ERROR, "Invalid address family\n"); //LCOV_EXCL_LINE if (*dns_address == NULL) return CONNECTION_ERROR_OUT_OF_MEMORY; -- 2.7.4