From: doursse Date: Sun, 21 May 2006 10:26:09 +0000 (+0000) Subject: fix warnings X-Git-Tag: submit/2.0alpha-wayland/20121127.222018~478 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ca26f52813fba699a5467cb3cab6ca040d0459fb;p=profile%2Fivi%2Femotion.git fix warnings git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/emotion@22794 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/modules/emotion_gstreamer.c b/src/modules/emotion_gstreamer.c index 91bece6..552a554 100644 --- a/src/modules/emotion_gstreamer.c +++ b/src/modules/emotion_gstreamer.c @@ -1036,7 +1036,6 @@ em_audio_channel_volume_set(void *video, double vol) { Emotion_Gstreamer_Video *ev; - Emotion_Audio_Sink *asink; GstElement *volume; ev = (Emotion_Gstreamer_Video *)video; @@ -1062,7 +1061,7 @@ em_audio_channel_volume_get(void *video) ev = (Emotion_Gstreamer_Video *)video; volume = gst_bin_get_by_name (GST_BIN (ev->pipeline), "volume"); - if (!volume) return; + if (!volume) return 0.0; g_object_get (G_OBJECT (volume), "volume", &vol, NULL); gst_object_unref (volume);