This fixes compiler warnings related to in csdk and services dirs.
- unused but set variables
- control reaching end of non-void functions
Change-Id: I98b83091dc97e059e2755b98e33aef209dbb5adb
Signed-off-by: Ravi Nanjundappa <nravi.n@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/1778
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
catch (std::exception &exception)
{
OC_LOG(DEBUG, CLIENT_W_TAG, " RemoteResourceObject::getState InvalidParameterException");
+ throw BadRequestException { "[getState] Get Resource Source State from Broker Error " };
}
}
{
OC_LOG(DEBUG, CLIENT_W_TAG,
"RemoteResourceObject::getResourceCacheState InvalidParameterException");
+ throw BadRequestException { "[getResourceCacheState] Caching not started" };
}
}