Expression 'key < REMOTE_CONTROL_KEY_ENTER' is always false , which may be caused by a logical error
Change-Id: Ie499057a6281ddb68927c644cd0beb024196b385
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
EXAPI int remote_control_send_key_event(remote_control_client *client, remote_control_key_type_e key)
{
- if (client == NULL || key < REMOTE_CONTROL_KEY_ENTER || key > REMOTE_CONTROL_KEY_CANCEL) {
+ if (client == NULL || key > REMOTE_CONTROL_KEY_CANCEL) {
LOGE ("REMOTE_CONTROL_INVALID_PARAMETER");
return REMOTE_CONTROL_INVALID_PARAMETER;
}