summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2015-03-03 13:20:56 -0700
committerBrian Paul <brianp@vmware.com>2015-03-04 08:33:48 -0700
commit34ff9bc6696f3bb84406850d9bc59dfda4bcf8d6 (patch)
tree9f39e906562a67cb978c002383c562745d1bf74d /src/gallium
parent8aa9191878a5608fc6e4e8c72bea1d25cd821dec (diff)
downloadexternal_mesa3d-34ff9bc6696f3bb84406850d9bc59dfda4bcf8d6.zip
external_mesa3d-34ff9bc6696f3bb84406850d9bc59dfda4bcf8d6.tar.gz
external_mesa3d-34ff9bc6696f3bb84406850d9bc59dfda4bcf8d6.tar.bz2
gallivm: init MM = NULL to silence warning
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/auxiliary/gallivm/lp_bld_misc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
index 5210acc..e2578cf 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
+++ b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
@@ -493,7 +493,7 @@ lp_build_create_jit_compiler_for_module(LLVMExecutionEngineRef *OutJIT,
builder.setMCPU(MCPU);
#endif
- ShaderMemoryManager *MM;
+ ShaderMemoryManager *MM = NULL;
if (useMCJIT) {
#if HAVE_LLVM > 0x0303
BaseMemoryManager* JMM = reinterpret_cast<BaseMemoryManager*>(CMM);