[llvm-commits] [llvm] r129968 - /llvm/trunk/lib/MC/MCDwarf.cpp

Chandler Carruth chandlerc at gmail.com
Thu Apr 21 18:21:07 PDT 2011


Author: chandlerc
Date: Thu Apr 21 20:21:06 2011
New Revision: 129968

URL: http://llvm.org/viewvc/llvm-project?rev=129968&view=rev
Log:
Remove an unused variable from a function. This is a likely cut-paste-o.
Silences GCC warning.

I wonder why Clang doesn't warn on this...

Modified:
    llvm/trunk/lib/MC/MCDwarf.cpp

Modified: llvm/trunk/lib/MC/MCDwarf.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/MCDwarf.cpp?rev=129968&r1=129967&r2=129968&view=diff
==============================================================================
--- llvm/trunk/lib/MC/MCDwarf.cpp (original)
+++ llvm/trunk/lib/MC/MCDwarf.cpp Thu Apr 21 20:21:06 2011
@@ -465,7 +465,6 @@
 static void EmitSymbol(MCStreamer &streamer, const MCSymbol &symbol,
                        unsigned symbolEncoding) {
   MCContext &context = streamer.getContext();
-  const TargetAsmInfo &asmInfo = context.getTargetAsmInfo();
   unsigned size = getSizeForEncoding(streamer, symbolEncoding);
   unsigned application = symbolEncoding & 0x70;
   switch (application) {





More information about the llvm-commits mailing list