check_return: Calling app_control_get_caller without checking return value (as is done elsewhere 10 out of 12 times).
Change-Id: I3972e7e3dbd23ce366cba8f20ed615d19ce24849
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
snprintf(cursorPosition, sizeof(cursorPosition), "%d", elm_entry_cursor_pos_get(entry));
char *app_id = NULL;
- app_control_get_caller(app_data->source_app_control, &app_id);
- if (app_id != NULL)
+ ret = app_control_get_caller(app_data->source_app_control, &app_id);
+ if (ret == APP_CONTROL_ERROR_NONE && app_id != NULL)
app_control_set_app_id(app_control, app_id);
app_control_set_operation(app_control, APP_CONTROL_OPERATION_DEFAULT);
set_source_caller_app_id(app_control);