Resolved Coverity Issue 1149059 23/244123/1 accepted/tizen/6.0/unified/20201030.103650 accepted/tizen/6.0/unified/hotfix/20201103.044948 accepted/tizen/unified/20200915.113758 submit/tizen/20200915.074401 submit/tizen_6.0/20201029.205504 submit/tizen_6.0_hotfix/20201102.192905 submit/tizen_6.0_hotfix/20201103.115105 tizen_6.0.m2_release
authorallu.k <allu.k@samsung.com>
Tue, 15 Sep 2020 07:20:48 +0000 (12:50 +0530)
committerallu.k <allu.k@samsung.com>
Tue, 15 Sep 2020 07:20:48 +0000 (12:50 +0530)
Change-Id: I60889a367585946c0def5493174551f57532d807

src/modules/information/video_play.c

index a3b6947..262a012 100644 (file)
@@ -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);