llvmpipe: silence warning
authorAlan Hourihane <alanh@vmware.com>
Tue, 20 Apr 2010 09:33:56 +0000 (10:33 +0100)
committerAlan Hourihane <alanh@vmware.com>
Tue, 20 Apr 2010 09:33:56 +0000 (10:33 +0100)
src/gallium/drivers/llvmpipe/lp_texture.c

index 45739e9..01854ca 100644 (file)
@@ -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);