summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@vmware.com>2010-04-20 10:33:56 +0100
committerAlan Hourihane <alanh@vmware.com>2010-04-20 10:33:56 +0100
commit17c560d1a46690c0d3812b81bf2d05a54b116786 (patch)
treeaf14a4094609b390dac8c4e83fa8e88f372bd489 /src
parenta6171a9dd99713266091982215bf1008c9ac8e64 (diff)
llvmpipe: silence warning
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_texture.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_texture.c b/src/gallium/drivers/llvmpipe/lp_texture.c
index 45739e94cb..01854ca2f2 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);