From: Christian König Date: Mon, 7 Dec 2015 19:36:21 +0000 (+0100) Subject: st/va: fix unused variable warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f6dd31c1cfe20dceb8c2a297b306b2c629714e2d;p=mesa.git st/va: fix unused variable warning Signed-off-by: Christian König Reviewed-by: Julien Isorce --- diff --git a/src/gallium/state_trackers/va/picture.c b/src/gallium/state_trackers/va/picture.c index 8623139b5be..7b30bf87d75 100644 --- a/src/gallium/state_trackers/va/picture.c +++ b/src/gallium/state_trackers/va/picture.c @@ -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)) {