[Lldb-commits] [lldb] r214230 - Remove unused variable that was causing a warning.
Greg Clayton
gclayton at apple.com
Tue Jul 29 14:47:02 PDT 2014
Author: gclayton
Date: Tue Jul 29 16:47:02 2014
New Revision: 214230
URL: http://llvm.org/viewvc/llvm-project?rev=214230&view=rev
Log:
Remove unused variable that was causing a warning.
Modified:
lldb/trunk/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp
Modified: lldb/trunk/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp?rev=214230&r1=214229&r2=214230&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp (original)
+++ lldb/trunk/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp Tue Jul 29 16:47:02 2014
@@ -129,7 +129,6 @@ ObjectFilePECOFF::GetModuleSpecification
if (ParseCOFFHeader(data, &offset, coff_header))
{
ArchSpec spec;
- llvm::Triple::ArchType archType = llvm::Triple::UnknownArch;
if (coff_header.machine == MachineAmd64)
spec.SetTriple("x86_64-pc-windows");
else if (coff_header.machine == MachineX86)
More information about the lldb-commits
mailing list