Fix coverity issue 1149129
[apps/native/volume-app.git] / src / sound.c
index ec9964d..38d2924 100755 (executable)
@@ -234,7 +234,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) {