From 1d01c0ebf0143c53d7c403bd9db52f822e6babbc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= <sebastian.droege@collabora.co.uk>
Date: Thu, 20 Dec 2012 12:30:05 +0100
Subject: [PATCH] omx: Fix ununsed variable compiler warning

---
 omx/gstomxaudioenc.c | 3 +--
 omx/gstomxvideodec.c | 3 +--
 omx/gstomxvideoenc.c | 3 +--
 3 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/omx/gstomxaudioenc.c b/omx/gstomxaudioenc.c
index c730b1cbd6..0590a97e9c 100644
--- a/omx/gstomxaudioenc.c
+++ b/omx/gstomxaudioenc.c
@@ -495,7 +495,6 @@ static gboolean
 gst_omx_audio_enc_start (GstAudioEncoder * encoder)
 {
   GstOMXAudioEnc *self;
-  gboolean ret;
 
   self = GST_OMX_AUDIO_ENC (encoder);
 
@@ -503,7 +502,7 @@ gst_omx_audio_enc_start (GstAudioEncoder * encoder)
   self->eos = FALSE;
   self->downstream_flow_ret = GST_FLOW_OK;
 
-  return ret;
+  return TRUE;
 }
 
 static gboolean
diff --git a/omx/gstomxvideodec.c b/omx/gstomxvideodec.c
index 86f801af14..29fc693edc 100644
--- a/omx/gstomxvideodec.c
+++ b/omx/gstomxvideodec.c
@@ -783,7 +783,6 @@ static gboolean
 gst_omx_video_dec_start (GstVideoDecoder * decoder)
 {
   GstOMXVideoDec *self;
-  gboolean ret;
 
   self = GST_OMX_VIDEO_DEC (decoder);
 
@@ -791,7 +790,7 @@ gst_omx_video_dec_start (GstVideoDecoder * decoder)
   self->eos = FALSE;
   self->downstream_flow_ret = GST_FLOW_OK;
 
-  return ret;
+  return TRUE;
 }
 
 static gboolean
diff --git a/omx/gstomxvideoenc.c b/omx/gstomxvideoenc.c
index f671e7f40f..943dc2f7cd 100644
--- a/omx/gstomxvideoenc.c
+++ b/omx/gstomxvideoenc.c
@@ -876,7 +876,6 @@ static gboolean
 gst_omx_video_enc_start (GstVideoEncoder * encoder)
 {
   GstOMXVideoEnc *self;
-  gboolean ret;
 
   self = GST_OMX_VIDEO_ENC (encoder);
 
@@ -884,7 +883,7 @@ gst_omx_video_enc_start (GstVideoEncoder * encoder)
   self->eos = FALSE;
   self->downstream_flow_ret = GST_FLOW_OK;
 
-  return ret;
+  return TRUE;
 }
 
 static gboolean