From: Sylvestre Ledru Date: Fri, 21 Feb 2014 17:58:12 +0000 (+0000) Subject: Remove dead declaration X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=12681353c61e7079df93bb4205641d66ef5a5454;p=oota-llvm.git Remove dead declaration git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201863 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/MC/MCParser/AsmParser.cpp b/lib/MC/MCParser/AsmParser.cpp index c4dfc75c6d2..c2998ab8ccc 100644 --- a/lib/MC/MCParser/AsmParser.cpp +++ b/lib/MC/MCParser/AsmParser.cpp @@ -833,7 +833,6 @@ bool AsmParser::parsePrimaryExpr(const MCExpr *&Res, SMLoc &EndLoc) { } else if (MAI.doesAllowAtInName() && !MAI.useParensForSymbolVariant()) { Variant = MCSymbolRefExpr::VK_None; } else { - Variant = MCSymbolRefExpr::VK_None; return Error(SMLoc::getFromPointer(Split.second.begin()), "invalid variant '" + Split.second + "'"); }