From 6b8194e4d7ca980087a3a5e1addb74090be990ff Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Mon, 22 Oct 2012 21:50:39 +0000 Subject: [PATCH] ASTReader.cpp: Fix a warning. [-Wunused-variable] git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166442 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Serialization/ASTReader.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Serialization/ASTReader.cpp b/lib/Serialization/ASTReader.cpp index 4d23ee5890..10a4f5eeee 100644 --- a/lib/Serialization/ASTReader.cpp +++ b/lib/Serialization/ASTReader.cpp @@ -1692,6 +1692,7 @@ ASTReader::getInputFile(ModuleFile &F, unsigned ID) { case INPUT_FILE: { unsigned StoredID = Record[0]; assert(ID == StoredID && "Bogus stored ID or offset"); + (void)StoredID; off_t StoredSize = (off_t)Record[1]; time_t StoredTime = (time_t)Record[2]; bool Overridden = (bool)Record[3]; -- 2.40.0