From 438510a7f5ad24cf3bc94e7e79039605f6418b03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timur=20Krist=C3=B3f?= Date: Fri, 14 May 2021 17:04:04 +0200 Subject: [PATCH] nine: Fix uninitialized warning in texture9.c MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Timur Kristóf Reviewed-by: Adam Jackson Reviewed-by: Axel Davy Part-of: --- src/gallium/frontends/nine/texture9.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/frontends/nine/texture9.c b/src/gallium/frontends/nine/texture9.c index af0054aef24..1f7042bdfd3 100644 --- a/src/gallium/frontends/nine/texture9.c +++ b/src/gallium/frontends/nine/texture9.c @@ -50,7 +50,7 @@ NineTexture9_ctor( struct NineTexture9 *This, struct pipe_screen *screen = pParams->device->screen; struct pipe_resource *info = &This->base.base.info; enum pipe_format pf; - unsigned *level_offsets; + unsigned *level_offsets = NULL; unsigned l; D3DSURFACE_DESC sfdesc; HRESULT hr;