From: Brian Paul Date: Tue, 3 Mar 2015 20:20:56 +0000 (-0700) Subject: gallivm: init MM = NULL to silence warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=34ff9bc6696f3bb84406850d9bc59dfda4bcf8d6;p=mesa.git gallivm: init MM = NULL to silence warning Reviewed-by: Jose Fonseca --- diff --git a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp index 5210acca427..e2578cfccb8 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(CMM);