Change-Id: Ic1e78f94245f73c083d05f2c9357e8b131031465
Signed-off-by: Randeep Singh <randeep.s@samsung.com>
/* LCOV_EXCL_STOP */
}
}
+ if (index < _record->properties_max_count) {
+ _record->properties_flags[index] |= flag;
+ _record->property_flag |= flag;
+ } else {
+ ERR("index out of range");
+ return;
+ }
- _record->properties_flags[index] |= flag;
- _record->property_flag |= flag;
}
bool cal_record_check_property_flag(calendar_record_h record, unsigned int property_id, cal_properties_flag_e flag)