From: allu.k Date: Tue, 15 Sep 2020 07:20:48 +0000 (+0530) Subject: Resolved Coverity Issue 1149059 X-Git-Tag: submit/tizen/20200915.074401^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4610a9ee73d37708bd7f06fff4e56b5d50eb759e;p=profile%2Fmobile%2Fapps%2Fnative%2Findicator.git Resolved Coverity Issue 1149059 Change-Id: I60889a367585946c0def5493174551f57532d807 --- diff --git a/src/modules/information/video_play.c b/src/modules/information/video_play.c index a3b6947..262a012 100644 --- a/src/modules/information/video_play.c +++ b/src/modules/information/video_play.c @@ -131,12 +131,15 @@ static int wake_up_cb(void *data) static int register_video_play_module(void *data) { + int ret = -1; retvm_if(data == NULL, FAIL, "Invalid parameter!"); set_app_state(data); - vconf_notify_key_changed(VCONF_VIDEO_PLAY_PLAYSTATUS, indicator_video_play_change_cb, data); + ret = vconf_notify_key_changed(VCONF_VIDEO_PLAY_PLAYSTATUS, indicator_video_play_change_cb, data); + + retvm_if(ret != 0, FAIL, "vconf_notify_key_changed failed[%d]", ret); show_video_icon(data);