Change-Id: Iee4d1648248874f17bcc5acdf3c484df11a1fa51
Signed-off-by: pr.jung <pr.jung@samsung.com>
if (prof == PROFILE_MOBILE) {
for (i = 0; i < profile_get_num_of_pattern(); i++) {
- if (pattern == mobile_str_pattern[i].id) {
+ if (pattern == mobile_str_pattern[i].id)
return mobile_str_pattern[i].string;
- }
}
} else if (prof == PROFILE_WEARABLE) {
for (i = 0; i < profile_get_num_of_pattern(); i++) {
return -ENOMEM; //LCOV_EXCL_LINE System Error
}
- for (i = 0; i < profile->get_num_of_pattern(); i++) {
+ for (i = 0; i < profile->get_num_of_pattern(); i++)
info->data[i].pattern = -1;
- }
ret = config_parse(path, load_config, info);
if (ret < 0)