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 45739e94cb0688709d59edd53b4642a396c893ef..01854ca2f2d398987ced6bc155467864ee8ea8eb 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);