[WGID-199988] Remove unreachable code 89/122889/1 accepted/tizen/unified/20170406.054215 submit/tizen/20170404.234357
authorSeonah Moon <seonah1.moon@samsung.com>
Tue, 4 Apr 2017 01:33:38 +0000 (10:33 +0900)
committerSeonah Moon <seonah1.moon@samsung.com>
Tue, 4 Apr 2017 01:33:57 +0000 (10:33 +0900)
Change-Id: Ib77c3194ac30d2ec7849a122cfa4626c7ab450f0
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
packaging/capi-network-connection.spec
src/connection_profile.c

index 73a55fa..93ab4b0 100755 (executable)
@@ -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
index a44c912..4b4dfbf 100755 (executable)
@@ -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;