From a3c9c425494f61b112f26ccda0f78f5fd25d9e33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kai=20Wasserb=C3=A4ch?= Date: Sat, 17 Sep 2022 13:33:34 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20mesa:=20unused=20variable=20=E2=80=98ret?= =?UTF-8?q?=E2=80=99=20[-Wunused-variable]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Only used in debug builds. Signed-off-by: Kai Wasserbäch Reviewed-by: Mihai Preda Part-of: --- src/mesa/main/texobj.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/main/texobj.c b/src/mesa/main/texobj.c index a59ee386d9d..2ddb244ae77 100644 --- a/src/mesa/main/texobj.c +++ b/src/mesa/main/texobj.c @@ -2391,7 +2391,7 @@ texture_page_commitment(struct gl_context *ctx, GLenum target, } int px, py, pz; - bool ret = st_GetSparseTextureVirtualPageSize( + ASSERTED bool ret = st_GetSparseTextureVirtualPageSize( ctx, target, image->TexFormat, tex_obj->VirtualPageSizeIndex, &px, &py, &pz); assert(ret);