Module: Mesa Branch: master Commit: f033d971557082ce716f5b722df0d923a265678e URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f033d971557082ce716f5b722df0d923a265678e
Author: Kai Wasserbäch <k...@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 <k...@dev.carbon-project.org> Reviewed-by: Christian König <christian.koe...@amd.com> Reviewed-by: Boyuan Zhang <boyuan.zh...@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) _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-commit