tidy up
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64934 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Driver/TextDiagnosticPrinter.cpp b/lib/Driver/TextDiagnosticPrinter.cpp
index a9d011a..39a4328 100644
--- a/lib/Driver/TextDiagnosticPrinter.cpp
+++ b/lib/Driver/TextDiagnosticPrinter.cpp
@@ -109,9 +109,7 @@
// We always emit diagnostics about the instantiation points, not the spelling
// points. This more closely correlates to what the user writes.
if (!Loc.isFileID()) {
- SourceLocation OneLevelUp;
- OneLevelUp = SM.getImmediateInstantiationRange(Loc).first;
-
+ SourceLocation OneLevelUp = SM.getImmediateInstantiationRange(Loc).first;
EmitCaretDiagnostic(Info, OneLevelUp, SM);
Loc = SM.getInstantiationLoc(SM.getImmediateSpellingLoc(Loc));