From: chleun.moon Date: Wed, 12 Oct 2016 07:05:44 +0000 (+0900) Subject: Removed build warnings X-Git-Tag: accepted/tizen/3.0/common/20161114.105342^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F12%2F91912%2F1;p=platform%2Fcore%2Fapi%2Fvpn-service.git Removed build warnings Signed-off-by: cheoleun Change-Id: I3c8ff289b16ea5a81adce09d68145cf9cbc7b509 --- diff --git a/packaging/capi-vpn-service.spec b/packaging/capi-vpn-service.spec index d46cc08..bd65459 100755 --- a/packaging/capi-vpn-service.spec +++ b/packaging/capi-vpn-service.spec @@ -1,6 +1,6 @@ Name: vpnsvc-pkg Summary: VPN service library in TIZEN C API -Version: 1.0.24 +Version: 1.0.25 Release: 1 Group: System/Network License: Apache-2.0 diff --git a/src/capi_vpn_service.c b/src/capi_vpn_service.c index 24aa119..8a61c49 100755 --- a/src/capi_vpn_service.c +++ b/src/capi_vpn_service.c @@ -1087,7 +1087,6 @@ EXPORT_API int vpnsvc_set_local_ip_address(vpnsvc_h handle, const char *local_ip { CHECK_FEATURE_SUPPORTED(VPN_SERVICE_FEATURE); - int result = VPNSVC_ERROR_NONE; vpnsvc_tun_s *tun_s = NULL; /* parameter check */ @@ -1111,7 +1110,6 @@ EXPORT_API int vpnsvc_set_remote_ip_address(vpnsvc_h handle, const char *remote_ { CHECK_FEATURE_SUPPORTED(VPN_SERVICE_FEATURE); - int result = VPNSVC_ERROR_NONE; vpnsvc_tun_s *tun_s = NULL; /* parameter check */ diff --git a/test/vpn_service_test.c b/test/vpn_service_test.c index baa3a88..d5ebb9e 100755 --- a/test/vpn_service_test.c +++ b/test/vpn_service_test.c @@ -454,7 +454,6 @@ int test_vpnsvc_remove_dns_server() int test_vpnsvc_create() { int rv = VPNSVC_ERROR_NONE; - int int_value; rv = vpnsvc_create(&handle); @@ -470,7 +469,6 @@ int test_vpnsvc_create() int test_vpnsvc_destroy() { int rv = VPNSVC_ERROR_NONE; - int int_value; rv = vpnsvc_destroy(handle);