diff options
author | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2011-04-13 23:57:56 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2011-04-13 23:57:56 +0100 |
commit | be597896646eea46c32549baae5bfb3ff03ccbc3 (patch) | |
tree | 3dce19e1a579dc6a26336109192471aec7ecea6d /ext/ogg/gstoggmux.c | |
parent | f14c73cbfde9c5d3bc2b43d1f53325315c855825 (diff) |
ogg: fix unused-but-set-variable warnings with gcc 4.6
https://bugzilla.gnome.org/show_bug.cgi?id=647294
Diffstat (limited to 'ext/ogg/gstoggmux.c')
-rw-r--r-- | ext/ogg/gstoggmux.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/ogg/gstoggmux.c b/ext/ogg/gstoggmux.c index fc0aad248..9f3047f65 100644 --- a/ext/ogg/gstoggmux.c +++ b/ext/ogg/gstoggmux.c @@ -881,7 +881,6 @@ gst_ogg_mux_queue_pads (GstOggMux * ogg_mux) GST_DEBUG_OBJECT (data->pad, "EOS on pad"); if (!pad->eos) { ogg_page page; - GstFlowReturn ret; /* it's no longer active */ ogg_mux->active_pads--; @@ -891,8 +890,7 @@ gst_ogg_mux_queue_pads (GstOggMux * ogg_mux) while (ogg_stream_flush (&pad->map.stream, &page)) { /* Place page into the per-pad queue */ - ret = gst_ogg_mux_pad_queue_page (ogg_mux, pad, &page, - pad->first_delta); + gst_ogg_mux_pad_queue_page (ogg_mux, pad, &page, pad->first_delta); /* increment the page number counter */ pad->pageno++; /* mark other pages as delta */ |