From: Richard Smith Date: Mon, 27 Oct 2014 23:25:15 +0000 (+0000) Subject: Remove unused variable. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d8ceba3cd629525e38f95ab859837577810443c8;p=clang Remove unused variable. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@220738 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Serialization/ASTReader.cpp b/lib/Serialization/ASTReader.cpp index 7e4e20c70a..fd6b89121f 100644 --- a/lib/Serialization/ASTReader.cpp +++ b/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);