From f033d971557082ce716f5b722df0d923a265678e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kai=20Wasserb=C3=A4ch?= Date: Sat, 20 Aug 2016 18:14:54 +0200 Subject: [PATCH] st/va: Remove unused variable coded_size from vlVaEndPicture() MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Removes the following GCC warning: ../../../../../src/gallium/state_trackers/va/picture.c:542:17: warning: unused variable 'coded_size' [-Wunused-variable] unsigned int coded_size; ^~~~~~~~~~ Signed-off-by: Kai Wasserbäch Reviewed-by: Christian König Reviewed-by: Boyuan Zhang --- src/gallium/state_trackers/va/picture.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/gallium/state_trackers/va/picture.c b/src/gallium/state_trackers/va/picture.c index bbb559561f7..a283e8307bf 100644 --- a/src/gallium/state_trackers/va/picture.c +++ b/src/gallium/state_trackers/va/picture.c @@ -539,7 +539,6 @@ vlVaEndPicture(VADriverContextP ctx, VAContextID context_id) vlVaContext *context; vlVaBuffer *coded_buf; vlVaSurface *surf; - unsigned int coded_size; void *feedback; if (!ctx) -- 2.30.2