[Verification] Code compiles without error
Change-Id: I809660bd2b5798cba7e0fdfa45c87bd25910ae0b
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
{
if (nullptr != m_camera_flash_listener) {
PlatformResult ret = PlatformResult(ErrorCode::NO_ERROR);
- int value = 0;
if (DEVICE_ERROR_NONE != device_remove_callback(DEVICE_CALLBACK_FLASH_BRIGHTNESS,
OnBrightnessChangedCb)) {
return PlatformResult(ErrorCode::UNKNOWN_ERR);
return ret;
}
- for (int i = 0; i < property_count; i++) {
+ for (size_t i = 0; i < property_count; i++) {
picojson::value result = picojson::value(picojson::object());
picojson::object& result_obj = result.get<picojson::object>();