Several non-void methods were missing their return statements in case
OCException was thrown.
Change-Id: Ic18aed97c5389426c6e36695a5886538174afdc9
Signed-off-by: Erkka Kääriä <erkka.kaaria@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/4177
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: jihwan seo <jihwan.seo@samsung.com>
Reviewed-by: Naga Ashok Jampani <jn.ashok@samsung.com>
Reviewed-by: Jon A. Cruz <jonc@osg.samsung.com>
{
LOGE("%s", e.reason().c_str());
ThrowOcException(OC_STACK_ERROR, e.reason().c_str());
+ return nullptr;
}
}
{
LOGE("%s", e.reason().c_str());
ThrowOcException(OC_STACK_ERROR, e.reason().c_str());
+ return nullptr;
}
}
{
LOGE("%s", e.reason().c_str());
ThrowOcException(OC_STACK_ERROR, e.reason().c_str());
+ return nullptr;
}
}