diff options
author | Timothy Arceri <[email protected]> | 2017-07-20 10:06:32 +1000 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2017-07-26 10:39:52 +1000 |
commit | 7ee383669fc34a9ebe1e722da47673025dbf72a5 (patch) | |
tree | 56f9f5683ed03b5e1823134e8f8e9624b5514c1e /src/mesa/state_tracker/st_cb_texture.c | |
parent | 87e5f39cf1777a7fd3d8fc3c5fbc969ed743ea05 (diff) |
mesa/st: fix unused variable warnings
Reviewed-by: Grazvydas Ignotas <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_cb_texture.c')
-rw-r--r-- | src/mesa/state_tracker/st_cb_texture.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |