summaryrefslogtreecommitdiff
path: root/resource
diff options
context:
space:
mode:
authorDoHyun Pyun <dh79.pyun@samsung.com>2020-04-02 07:55:52 +0900
committerDoHyun Pyun <dh79.pyun@samsung.com>2020-04-02 07:58:26 +0900
commitd3c0b7cd0d04949e39cbbce410949cfe63a2dd2f (patch)
treee6103def909c37830b4a21c3f0143034f772d73e /resource
parent505a4d025ac4347f74660b73a8405242c3f1c5c2 (diff)
downloadiotivity-d3c0b7cd0d04949e39cbbce410949cfe63a2dd2f.tar.gz
iotivity-d3c0b7cd0d04949e39cbbce410949cfe63a2dd2f.tar.bz2
iotivity-d3c0b7cd0d04949e39cbbce410949cfe63a2dd2f.zip
With new toolchain gcc9.2, these cases go to 100% crash. So Must Fix this warning error. Change-Id: I8354a2d6c57d2da16feca5151e1b5ebe99be55fe Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Diffstat (limited to 'resource')
-rwxr-xr-xresource/csdk/connectivity/src/bt_le_adapter/tizen/caleclient.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/resource/csdk/connectivity/src/bt_le_adapter/tizen/caleclient.c b/resource/csdk/connectivity/src/bt_le_adapter/tizen/caleclient.c
index c13d8e290..7c5f6c872 100755
--- a/resource/csdk/connectivity/src/bt_le_adapter/tizen/caleclient.c
+++ b/resource/csdk/connectivity/src/bt_le_adapter/tizen/caleclient.c
@@ -1320,7 +1320,8 @@ static CAResult_t CALEGattConnectionRetry(const char *remoteAddress)
{
OIC_LOG(DEBUG, TAG, "IN");
- VERIFY_NON_NULL_VOID(remoteAddress, TAG, "remote address is NULL")
+ VERIFY_NON_NULL_RET(remoteAddress, TAG,
+ "remote address is NULL", CA_STATUS_FAILED);
CALEGattDisConnect(remoteAddress);
CALEWaittillDisconnect(g_isDisconnectedMutex, g_LEDisconnectedCond, 10);
@@ -1808,4 +1809,4 @@ CAResult_t CALEClientSendNegotiationMessage(const char* address)
//@Todo
//it will be implemented when tizen public 3.0 is released.
return CA_NOT_SUPPORTED;
-} \ No newline at end of file
+}