Remove unused variable.
authorRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 27 Oct 2014 23:25:15 +0000 (23:25 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 27 Oct 2014 23:25:15 +0000 (23:25 +0000)
llvm-svn: 220738

clang/lib/Serialization/ASTReader.cpp

index 7e4e20c..fd6b891 100644 (file)
@@ -4314,8 +4314,7 @@ bool ASTReader::readASTFileControlBlock(StringRef Filename,
       unsigned Idx = 0, N = Record.size();
       while (Idx < N) {
         // Read information about the AST file.
-        ModuleKind ImportedKind = (ModuleKind)Record[Idx++];
-        Idx += 4; // ImportLoc, Size, ModTime, Signature
+        Idx += 5; // ImportLoc, Size, ModTime, Signature
         unsigned Length = Record[Idx++];
         SmallString<128> ImportedFile(Record.begin() + Idx,
                                       Record.begin() + Idx + Length);