Mesa (master): st/va: Remove unused variable coded_size from vlVaEndPicture()
Christian König
deathsimple at kemper.freedesktop.org
Wed Aug 24 08:36:10 UTC 2016
Module: Mesa
Branch: master
Commit: f033d971557082ce716f5b722df0d923a265678e
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f033d971557082ce716f5b722df0d923a265678e
Author: Kai Wasserbäch <kai at dev.carbon-project.org>
Date: Sat Aug 20 18:14:54 2016 +0200
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 <kai at dev.carbon-project.org>
Reviewed-by: Christian König <christian.koenig at amd.com>
Reviewed-by: Boyuan Zhang <boyuan.zhang at amd.com>
---
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 bbb5595..a283e83 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)
More information about the mesa-commit
mailing list