From b79bf1db7adc8ed3172ee89db04428b65bf40693 Mon Sep 17 00:00:00 2001 From: Nick Lewycky Date: Mon, 2 May 2011 01:07:19 +0000 Subject: [PATCH] Remove unused variable, but keep function call with side-effect. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@130678 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Sema/SemaDeclCXX.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Sema/SemaDeclCXX.cpp b/lib/Sema/SemaDeclCXX.cpp index dc0a41e79e..27632a1a57 100644 --- a/lib/Sema/SemaDeclCXX.cpp +++ b/lib/Sema/SemaDeclCXX.cpp @@ -4713,7 +4713,7 @@ Decl *Sema::ActOnAliasDeclaration(Scope *S, bool Invalid = false; DeclarationNameInfo NameInfo = GetNameFromUnqualifiedId(Name); TypeSourceInfo *TInfo = 0; - QualType T = GetTypeFromParser(Type.get(), &TInfo); + GetTypeFromParser(Type.get(), &TInfo); if (DiagnoseClassNameShadow(CurContext, NameInfo)) return 0; -- 2.40.0