From: Kai Wasserbäch Date: Sat, 20 Aug 2016 16:14:54 +0000 (+0200) Subject: st/va: Remove unused variable coded_size from vlVaEndPicture() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f033d971557082ce716f5b722df0d923a265678e;p=mesa.git st/va: Remove unused variable coded_size from vlVaEndPicture() 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 --- 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)