From e04ced027ee690394676e97d6c6a4448421e0e5c Mon Sep 17 00:00:00 2001 From: Luis de Bethencourt Date: Fri, 5 Jun 2015 14:49:18 +0100 Subject: [PATCH] dfbvideosink: remove ignored assignments Remove assignments to DFBResult res that are never read. --- ext/directfb/dfbvideosink.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ext/directfb/dfbvideosink.c b/ext/directfb/dfbvideosink.c index bafe4bade5..22dd3d70a0 100644 --- a/ext/directfb/dfbvideosink.c +++ b/ext/directfb/dfbvideosink.c @@ -1818,7 +1818,7 @@ gst_dfbvideosink_show_frame (GstBaseSink * bsink, GstBuffer * buf) src.h = dfbvideosink->video_height; } gst_caps_unref (caps); - res = surface->GetSize (surface, &dst.w, &dst.h); + surface->GetSize (surface, &dst.w, &dst.h); /* Center / Clip */ gst_video_sink_center_rect (src, dst, &result, FALSE); @@ -1910,15 +1910,15 @@ gst_dfbvideosink_show_frame (GstBaseSink * bsink, GstBuffer * buf) gst_video_frame_unmap (&src_frame); - res = dest->Unlock (dest); + dest->Unlock (dest); dest->Release (dest); if (dfbvideosink->backbuffer) { if (dfbvideosink->vsync) { - res = surface->Flip (surface, NULL, DSFLIP_ONSYNC); + surface->Flip (surface, NULL, DSFLIP_ONSYNC); } else { - res = surface->Flip (surface, NULL, DSFLIP_NONE); + surface->Flip (surface, NULL, DSFLIP_NONE); } } } else {