summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/va/picture.c
diff options
context:
space:
mode:
authorKai Wasserbäch <[email protected]>2016-08-20 18:14:54 +0200
committerChristian König <[email protected]>2016-08-24 10:35:53 +0200
commitf033d971557082ce716f5b722df0d923a265678e (patch)
treee40a0218d0249a6e32fd7deb896f076d11ef1169 /src/gallium/state_trackers/va/picture.c
parent83d08d4cab1cd6577dd304e6f8acead4076ccf5d (diff)
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 <[email protected]> Reviewed-by: Christian König <[email protected]> Reviewed-by: Boyuan Zhang <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/va/picture.c')
-rw-r--r--src/gallium/state_trackers/va/picture.c1
1 files changed, 0 insertions, 1 deletions
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)