OSDN Git Service

Remove a redundant initialization. NFC
authorPaul Robinson <paul.robinson@sony.com>
Wed, 20 Jun 2018 16:12:03 +0000 (16:12 +0000)
committerPaul Robinson <paul.robinson@sony.com>
Wed, 20 Jun 2018 16:12:03 +0000 (16:12 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@335143 91177308-0d34-0410-b5e6-96231b3b80d8

lib/MC/MCParser/AsmParser.cpp

index 3992261..00418ac 100644 (file)
@@ -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.