OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8cfd3ea
)
fix a warning.
author
Chris Lattner
<sabre@nondot.org>
Sat, 16 Jan 2010 21:55:24 +0000
(21:55 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sat, 16 Jan 2010 21:55:24 +0000
(21:55 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93663
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/LinkAllVMCore.h
patch
|
blob
|
history
diff --git
a/include/llvm/LinkAllVMCore.h
b/include/llvm/LinkAllVMCore.h
index
5c25737
..
6cf2c4b
100644
(file)
--- a/
include/llvm/LinkAllVMCore.h
+++ b/
include/llvm/LinkAllVMCore.h
@@
-45,7
+45,7
@@
namespace {
// to know that getenv() never returns -1, this will do the job.
if (std::getenv("bar") != (char*) -1)
return;
-
llvm::Module* M =
new llvm::Module("", llvm::getGlobalContext());
+
(void)
new llvm::Module("", llvm::getGlobalContext());
(void)new llvm::UnreachableInst(llvm::getGlobalContext());
(void) llvm::createVerifierPass();
}