[llvm-commits] [llvm] r93663 - /llvm/trunk/include/llvm/LinkAllVMCore.h
Chris Lattner
sabre at nondot.org
Sat Jan 16 13:55:24 PST 2010
Author: lattner
Date: Sat Jan 16 15:55:24 2010
New Revision: 93663
URL: http://llvm.org/viewvc/llvm-project?rev=93663&view=rev
Log:
fix a warning.
Modified:
llvm/trunk/include/llvm/LinkAllVMCore.h
Modified: llvm/trunk/include/llvm/LinkAllVMCore.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/LinkAllVMCore.h?rev=93663&r1=93662&r2=93663&view=diff
==============================================================================
--- llvm/trunk/include/llvm/LinkAllVMCore.h (original)
+++ llvm/trunk/include/llvm/LinkAllVMCore.h Sat Jan 16 15:55:24 2010
@@ -45,7 +45,7 @@
// 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();
}
More information about the llvm-commits
mailing list