From: Seonah Moon Date: Tue, 4 Apr 2017 01:33:38 +0000 (+0900) Subject: [WGID-199988] Remove unreachable code X-Git-Tag: accepted/tizen/unified/20170406.054215^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=03ced00d8ba55fbb7fe6e76d4d0eb2a64f7eb8d8;hp=405ceab9a022c1562ee232b956eacddded228517;p=platform%2Fcore%2Fapi%2Fconnection.git [WGID-199988] Remove unreachable code Change-Id: Ib77c3194ac30d2ec7849a122cfa4626c7ab450f0 Signed-off-by: Seonah Moon --- 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;