Unreachable code (WGID-312946) 76/171276/1 accepted/tizen_5.0_unified tizen_5.0 accepted/tizen/5.0/unified/20181102.014026 accepted/tizen/unified/20180305.062901 submit/tizen/20180302.043216 submit/tizen_4.0/20180228.040055 submit/tizen_5.0/20181101.000002
authorchleun.moon <chleun.moon@samsung.com>
Wed, 28 Feb 2018 05:45:41 +0000 (14:45 +0900)
committerchleun.moon <chleun.moon@samsung.com>
Wed, 28 Feb 2018 05:45:45 +0000 (14:45 +0900)
Change-Id: I69fed32ebfc938c2a8fbd002bcb87225a1c178da
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
packaging/capi-network-vpn-setting.spec
src/vpn.c

index faf4af9..6126468 100755 (executable)
@@ -2,7 +2,7 @@
 
 Name:       capi-network-vpn-setting
 Summary:    Default VPN Library
-Version:    0.1.1
+Version:    0.1.2
 Release:    1
 Group:      System/Network
 License:    Apache-2.0
index 27169d6..5987dac 100755 (executable)
--- a/src/vpn.c
+++ b/src/vpn.c
@@ -52,10 +52,7 @@ EXPORT_API int vpn_deinitialize(void)
                return VPN_ERROR_INVALID_OPERATION;
        }
 
-       if (_vpn_deinit() == false) {
-               VPN_LOG(VPN_ERROR, "Deinit failed!\n");
-               return VPN_ERROR_OPERATION_FAILED;
-       }
+       _vpn_deinit();
 
        is_init = false;
        VPN_LOG(VPN_INFO, "VPN successfully de-initialized!\n");