From 79c98cc9fcae2d98b22945e23d149eadad823f0c Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Mon, 27 Oct 2014 23:25:15 +0000 Subject: Remove unused variable. llvm-svn: 220738 --- clang/lib/Serialization/ASTReader.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'clang') diff --git a/clang/lib/Serialization/ASTReader.cpp b/clang/lib/Serialization/ASTReader.cpp index 7e4e20c70a7..fd6b89121fd 100644 --- a/clang/lib/Serialization/ASTReader.cpp +++ b/clang/lib/Serialization/ASTReader.cpp @@ -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); -- cgit v1.2.3