summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorPaul Robinson <paul.robinson@sony.com>2018-06-20 16:12:03 +0000
committerPaul Robinson <paul.robinson@sony.com>2018-06-20 16:12:03 +0000
commit37fbb92652e81aa81554e042ea4f87baf754f5a6 (patch)
tree05208d574544d09dab8b11e4586605dede94af06 /llvm/lib
parent292651a5b739224b4377ea4f9babbae84018dd63 (diff)
downloadbcm5719-llvm-37fbb92652e81aa81554e042ea4f87baf754f5a6.tar.gz
bcm5719-llvm-37fbb92652e81aa81554e042ea4f87baf754f5a6.zip
Remove a redundant initialization. NFC
llvm-svn: 335143
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/MC/MCParser/AsmParser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/MC/MCParser/AsmParser.cpp b/llvm/lib/MC/MCParser/AsmParser.cpp
index 39922611e0e..00418ac70ba 100644
--- a/llvm/lib/MC/MCParser/AsmParser.cpp
+++ b/llvm/lib/MC/MCParser/AsmParser.cpp
@@ -3283,7 +3283,7 @@ bool AsmParser::parseDirectiveFile(SMLoc DirectiveLoc) {
return TokError("negative file number");
}
- std::string Path = getTok().getString();
+ std::string Path;
// Usually the directory and filename together, otherwise just the directory.
// Allow the strings to have escaped octal character sequence.
OpenPOWER on IntegriCloud