Fix -Wreturn-type build warning
[platform/upstream/iotivity.git] / resource / csdk / connectivity / src / bt_le_adapter / tizen / caleclient.c
index c13d8e2..7c5f6c8 100755 (executable)
@@ -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
+}