diff options
author | mohitkr1 <mohit.kr1@samsung.com> | 2020-03-18 15:51:28 +0530 |
---|---|---|
committer | Mohit Kumar <mohit.kr1@samsung.com> | 2020-03-18 10:22:31 +0000 |
commit | a4ae913f2cb85a25fb0cabe289af5419566aab8d (patch) | |
tree | d1581ae3e803a2477a114e0248cd6ec9946510b0 | |
parent | 836c8a855e66950e89bf6600fe6e11019b1e87a5 (diff) | |
download | volume-app-a4ae913f2cb85a25fb0cabe289af5419566aab8d.tar.gz volume-app-a4ae913f2cb85a25fb0cabe289af5419566aab8d.tar.bz2 volume-app-a4ae913f2cb85a25fb0cabe289af5419566aab8d.zip |
[1133426]Resolved coverity issuesubmit/tizen/20200318.115842accepted/tizen/unified/20200319.131244
Checker for return value in volume_view_slider_value_set
Change-Id: I8dd99be82ce2e130da0114c936dbd4e575d193e7
Signed-off-by: mohitkr1 <mohit.kr1@samsung.com>
-rwxr-xr-x | src/sound.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/sound.c b/src/sound.c index 188ac16..e27ce2b 100755 --- a/src/sound.c +++ b/src/sound.c @@ -233,7 +233,9 @@ void volume_sound_change_set(int val) if (sound_type != SOUND_TYPE_MEDIA) volume_sound_vconf_status_set(TYPE_VCONF_SOUND_STATUS, 0); - volume_view_slider_value_set(0); + if (VOLUME_ERROR_OK != volume_view_slider_value_set(0)) + _E("Failed to set slider value"); + volume_sound_level_set(sound_type, 0); if (sound_type == SOUND_TYPE_RINGTONE) { |