From 0b35cde3b6230176f78ed2ae4f29798e33f66cfa Mon Sep 17 00:00:00 2001 From: DoHyun Pyun Date: Thu, 16 Mar 2017 10:07:17 +0900 Subject: [PATCH] Fix the svace issue (183099) Change-Id: Iac20cc4b24fe23ebc863a3657a61d2049121f479 Signed-off-by: DoHyun Pyun --- src/Tizen.Network.Bluetooth/Tizen.Network.Bluetooth/BluetoothGatt.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Tizen.Network.Bluetooth/Tizen.Network.Bluetooth/BluetoothGatt.cs b/src/Tizen.Network.Bluetooth/Tizen.Network.Bluetooth/BluetoothGatt.cs index a2db4ca..1329b76 100755 --- a/src/Tizen.Network.Bluetooth/Tizen.Network.Bluetooth/BluetoothGatt.cs +++ b/src/Tizen.Network.Bluetooth/Tizen.Network.Bluetooth/BluetoothGatt.cs @@ -857,9 +857,10 @@ namespace Tizen.Network.Bluetooth /// Throws excetion if value is null public void SetValue(string value) { +/* Fix svace issue: 183099 (UNREACHABLE_CODE) if (value.Equals(null)) GattUtil.ThrowForError((int)BluetoothError.InvalidParameter, "value should not be null"); - +*/ byte[] val = Encoding.UTF8.GetBytes(value); Impl.SetValue(val); } -- 2.7.4