[llvm-commits] [llvm] r117025 - /llvm/trunk/lib/AsmParser/LLParser.cpp

Duncan Sands baldrick at free.fr
Thu Oct 21 09:07:10 PDT 2010


Author: baldrick
Date: Thu Oct 21 11:07:10 2010
New Revision: 117025

URL: http://llvm.org/viewvc/llvm-project?rev=117025&view=rev
Log:
AlignLoc is never used for anything - zap it (gcc-4.6 warning).

Modified:
    llvm/trunk/lib/AsmParser/LLParser.cpp

Modified: llvm/trunk/lib/AsmParser/LLParser.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/AsmParser/LLParser.cpp?rev=117025&r1=117024&r2=117025&view=diff
==============================================================================
--- llvm/trunk/lib/AsmParser/LLParser.cpp (original)
+++ llvm/trunk/lib/AsmParser/LLParser.cpp Thu Oct 21 11:07:10 2010
@@ -1199,8 +1199,7 @@
     
     if (Lex.getKind() != lltok::kw_align)
       return Error(Lex.getLoc(), "expected metadata or 'align'");
-    
-    LocTy AlignLoc = Lex.getLoc();
+
     if (ParseOptionalAlignment(Alignment)) return true;
   }
 





More information about the llvm-commits mailing list