[Project] TizenUICore
[BinType] AP
[Customer] ALL
[Issue#] N/A
[Request] Dev
[Occurrence Version] 0.3.8
[Problem] Static Analysis UNREACHABLE_CODE.RET
[Cause & Measure] Fail case condition missing.
[Checking Method] Self-test
[Team] SRBD Tizen UI Core
[Developer] Md. Omar Faruque [omar.faruque]
[Solution company] SRBD
[Change Type] Code change
Change-Id: Ie292c1a5efc58870b7392d0066a51f992b13bc82
Signed-off-by: Md. Omar Faruque <omar.faruque@samsung.com>
int boot_type = -1;
boot_type = __check_on_off_type(&args);
- if (boot_type < 0) {
+ if (boot_type <= 0) {
__E("Failed to get on off type or UNKNOWN_TYPE: %d", boot_type);
return 1;
}