Commit 2696830c authored by Philippe Coval's avatar Philippe Coval Committed by Todd Malsbary

bridging: Fix expressions style (to support clang)

Change-Id: I8e9892f9e370e1bda424b840528079b35830069c
Signed-off-by: default avatarPhilippe Coval <philippe.coval@osg.samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/18891Tested-by: default avatarjenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: default avatarOssama Othman <ossama.othman@intel.com>
Reviewed-by: default avatarTodd Malsbary <todd.malsbary@intel.com>
parent 4be7601c
......@@ -217,7 +217,7 @@ MPMResult MPMLoad(MPMPluginHandle *pluginHandle, const char *pluginName, MPMCall
MPMResult result = MPM_RESULT_INTERNAL_ERROR;
MPMPluginRunTime *functionSymbolTable;
if ((pluginName == NULL))
if (pluginName == NULL)
{
OIC_LOG(ERROR, TAG, "PluginName is NULL");
return result;
......
......@@ -207,7 +207,7 @@ static bool parseAuthorizedBridge(cJSON *object)
bool collectAuthorizedClients(const char *macAddrString, char *clientArray, uint32_t *numClients)
{
if ((macAddrString == NULL))
if (macAddrString == NULL)
{
OIC_LOG_V(ERROR, TAG, "Mac id is NULL");
return false;
......
......@@ -722,7 +722,7 @@ OCEntityHandlerResult handleEntityHandlerRequests(
try
{
if ((entityHandlerRequest == NULL))
if (entityHandlerRequest == NULL)
{
throw "Entity handler received a null entity request context" ;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment