projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8aa9191
)
gallivm: init MM = NULL to silence warning
author
Brian Paul
<brianp@vmware.com>
Tue, 3 Mar 2015 20:20:56 +0000
(13:20 -0700)
committer
Brian Paul
<brianp@vmware.com>
Wed, 4 Mar 2015 15:33:48 +0000
(08:33 -0700)
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
index 5210acca427a2e8c51af443f296af3c0dc72ab00..e2578cfccb8a867a6326645d0af8fe79c2fa63fe 100644
(file)
--- 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);