diff options
author | Duncan Sands <baldrick@free.fr> | 2009-09-06 08:33:48 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2009-09-06 08:33:48 +0000 |
commit | b7c5bdf843419e4222770475c27932c4c8e5c303 (patch) | |
tree | 663ea8e38cdb345d887be5517b8b3eb700b682da /lib/Target/MSIL | |
parent | 34d0194583c46f7f0d8695cb33a1feb3845946b3 (diff) | |
download | external_llvm-b7c5bdf843419e4222770475c27932c4c8e5c303.zip external_llvm-b7c5bdf843419e4222770475c27932c4c8e5c303.tar.gz external_llvm-b7c5bdf843419e4222770475c27932c4c8e5c303.tar.bz2 |
Remove some unused variables and methods warned about by
icc (#177, partial). Patch by Erick Tryzelaar.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81106 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/MSIL')
-rw-r--r-- | lib/Target/MSIL/MSILWriter.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Target/MSIL/MSILWriter.cpp b/lib/Target/MSIL/MSILWriter.cpp index f55b460..26d637b 100644 --- a/lib/Target/MSIL/MSILWriter.cpp +++ b/lib/Target/MSIL/MSILWriter.cpp @@ -1678,7 +1678,6 @@ void MSILWriter::printExternals() { E = ModulePtr->global_end(); I!=E; ++I) { if (!I->isDeclaration() || !I->hasDLLImportLinkage()) continue; // Use "LoadLibrary"/"GetProcAddress" to recive variable address. - std::string Label = "not_null$_"+utostr(getUniqID()); std::string Tmp = getTypeName(I->getType())+getValueName(&*I); printSimpleInstruction("ldsflda",Tmp.c_str()); Out << "\tldstr\t\"" << getLibraryName(&*I) << "\"\n"; |