emotion/gstreamer: Don't store return values if nobody reads them anyway.
authorstefan <stefan@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 15 Jun 2012 14:11:42 +0000 (14:11 +0000)
committerstefan <stefan@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 15 Jun 2012 14:11:42 +0000 (14:11 +0000)
em_pos_set() returns void in all modules. Not much use of the return
values in this case.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/emotion@72193 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/modules/gstreamer/emotion_gstreamer.c

index 9d6b213..38abf57 100644 (file)
@@ -621,16 +621,15 @@ em_pos_set(void   *video,
            double  pos)
 {
    Emotion_Gstreamer_Video *ev;
-   gboolean res;
 
    ev = (Emotion_Gstreamer_Video *)video;
 
    if (!ev->pipeline) return ;
 
    if (ev->play)
-     res = gst_element_set_state(ev->pipeline, GST_STATE_PAUSED);
+     gst_element_set_state(ev->pipeline, GST_STATE_PAUSED);
 
-   res = gst_element_seek(ev->pipeline, 1.0,
+   gst_element_seek(ev->pipeline, 1.0,
                           GST_FORMAT_TIME,
                           GST_SEEK_FLAG_ACCURATE | GST_SEEK_FLAG_FLUSH,
                           GST_SEEK_TYPE_SET,
@@ -638,7 +637,7 @@ em_pos_set(void   *video,
                           GST_SEEK_TYPE_NONE, -1);
 
    if (ev->play)
-     res = gst_element_set_state(ev->pipeline, GST_STATE_PLAYING);
+     gst_element_set_state(ev->pipeline, GST_STATE_PLAYING);
 }
 
 static double