fprintf(stderr, "type = [%s]\n", type);
ret = app_info_destroy(app_info);
- if (ret != APP_MANAGER_ERROR_NONE) {
+ if (ret != APP_MANAGER_ERROR_NONE)
return APP_MANAGER_ERROR_IO_ERROR;
- }
free(appid);
free(label);
if (2 == argc) {
ret = _get_appinfo(argv[1]);
- }
- else {
+ } else {
_print_help(argv[0]);
return EXIT_FAILURE;
}
- if (ret != APP_MANAGER_ERROR_NONE) {
+ if (ret != APP_MANAGER_ERROR_NONE)
fprintf(stderr, "There are some problems\n");
- }
return EXIT_SUCCESS;
}