drisw: fix unused variables warnings

Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8337>
This commit is contained in:
Michel Zou
2021-01-11 20:31:51 +01:00
committed by Marge Bot
parent d20de35471
commit dd7d0b8a2f
+1 -1
View File
@@ -123,7 +123,7 @@ dri_sw_displaytarget_create(struct sw_winsys *winsys,
const void *front_private,
unsigned *stride)
{
struct dri_sw_winsys *ws = dri_sw_winsys(winsys);
UNUSED struct dri_sw_winsys *ws = dri_sw_winsys(winsys);
struct dri_sw_displaytarget *dri_sw_dt;
unsigned nblocksy, size, format_stride;