From abb16417bac8d1da0d6698741dd07dcc7912a320 Mon Sep 17 00:00:00 2001 From: Cameron Desrochers Date: Wed, 20 Sep 2017 19:37:37 +0000 Subject: [PATCH] Fixed unused variable warning introduced in r313796 causing build failure git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@313802 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Lex/Lexer.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/Lex/Lexer.cpp b/lib/Lex/Lexer.cpp index b7f97a583d..9885ab9d3e 100644 --- a/lib/Lex/Lexer.cpp +++ b/lib/Lex/Lexer.cpp @@ -564,9 +564,6 @@ PreambleBounds Lexer::ComputePreamble(StringRef Buffer, Buffer.end()); TheLexer.SetCommentRetentionState(true); - // StartLoc will differ from FileLoc if there is a BOM that was skipped. - SourceLocation StartLoc = TheLexer.getSourceLocation(); - bool InPreprocessorDirective = false; Token TheTok; SourceLocation ActiveCommentLoc; -- 2.40.0