From 95d9c558d979c7e522fc9f54a83b3a0156662926 Mon Sep 17 00:00:00 2001 From: "chleun.moon" Date: Wed, 12 Oct 2016 16:05:44 +0900 Subject: [PATCH] Removed build warnings Signed-off-by: cheoleun Change-Id: I3c8ff289b16ea5a81adce09d68145cf9cbc7b509 --- packaging/capi-vpn-service.spec | 2 +- src/capi_vpn_service.c | 2 -- test/vpn_service_test.c | 2 -- 3 files changed, 1 insertion(+), 5 deletions(-) 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); -- 2.7.4