gallivm: init MM = NULL to silence warning
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
This commit is contained in:
parent
8aa9191878
commit
34ff9bc669
|
@ -493,7 +493,7 @@ lp_build_create_jit_compiler_for_module(LLVMExecutionEngineRef *OutJIT,
|
||||||
builder.setMCPU(MCPU);
|
builder.setMCPU(MCPU);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
ShaderMemoryManager *MM;
|
ShaderMemoryManager *MM = NULL;
|
||||||
if (useMCJIT) {
|
if (useMCJIT) {
|
||||||
#if HAVE_LLVM > 0x0303
|
#if HAVE_LLVM > 0x0303
|
||||||
BaseMemoryManager* JMM = reinterpret_cast<BaseMemoryManager*>(CMM);
|
BaseMemoryManager* JMM = reinterpret_cast<BaseMemoryManager*>(CMM);
|
||||||
|
|
Loading…
Reference in New Issue