From 17c560d1a46690c0d3812b81bf2d05a54b116786 Mon Sep 17 00:00:00 2001 From: Alan Hourihane Date: Tue, 20 Apr 2010 10:33:56 +0100 Subject: [PATCH] llvmpipe: silence warning --- src/gallium/drivers/llvmpipe/lp_texture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/llvmpipe/lp_texture.c b/src/gallium/drivers/llvmpipe/lp_texture.c index 45739e94cb0..01854ca2f2d 100644 --- a/src/gallium/drivers/llvmpipe/lp_texture.c +++ b/src/gallium/drivers/llvmpipe/lp_texture.c @@ -999,7 +999,7 @@ llvmpipe_get_texture_image_all(struct llvmpipe_resource *lpr, { const int slices = lpr->num_slices_faces[level]; int slice; - void *map; + void *map = NULL; assert(slices > 0); -- 2.30.2