From 7ee383669fc34a9ebe1e722da47673025dbf72a5 Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Thu, 20 Jul 2017 10:06:32 +1000 Subject: mesa/st: fix unused variable warnings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Grazvydas Ignotas Reviewed-by: Marek Olšák --- src/mesa/state_tracker/st_cb_texture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/state_tracker/st_cb_texture.c') diff --git a/src/mesa/state_tracker/st_cb_texture.c b/src/mesa/state_tracker/st_cb_texture.c index f66e1bd0cbe..d0a7b55c587 100644 --- a/src/mesa/state_tracker/st_cb_texture.c +++ b/src/mesa/state_tracker/st_cb_texture.c @@ -2396,7 +2396,7 @@ copy_image_data_to_texture(struct st_context *st, { /* debug checks */ { - const struct gl_texture_image *dstImage = + const struct gl_texture_image MAYBE_UNUSED *dstImage = stObj->base.Image[stImage->base.Face][dstLevel]; assert(dstImage); assert(dstImage->Width == stImage->base.Width); -- cgit v1.2.3