st/va: fix unused variable warning
authorChristian König <christian.koenig@amd.com>
Mon, 7 Dec 2015 19:36:21 +0000 (20:36 +0100)
committerChristian König <christian.koenig@amd.com>
Mon, 14 Dec 2015 10:54:55 +0000 (11:54 +0100)
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Julien Isorce <j.isorce@samsung.com>
src/gallium/state_trackers/va/picture.c

index 8623139b5be5b02a601d03177b176d1526aa0810..7b30bf87d758a805a8338ff81948d11b8b85e37a 100644 (file)
@@ -92,7 +92,6 @@ vlVaGetReferenceFrame(vlVaDriver *drv, VASurfaceID surface_id,
 static VAStatus
 handlePictureParameterBuffer(vlVaDriver *drv, vlVaContext *context, vlVaBuffer *buf)
 {
-   unsigned int i;
    VAStatus vaStatus = VA_STATUS_SUCCESS;
 
    switch (u_reduce_video_profile(context->templat.profile)) {