From 878416d37b5cc82444b4f96d1b58f044a181fc16 Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Thu, 15 Mar 2012 00:22:18 +0000 Subject: [PATCH] Remove a variable rendered unused by r152750. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152758 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Sema/SemaDecl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Sema/SemaDecl.cpp b/lib/Sema/SemaDecl.cpp index 3363af324c..ab1a1b4025 100644 --- a/lib/Sema/SemaDecl.cpp +++ b/lib/Sema/SemaDecl.cpp @@ -7954,7 +7954,7 @@ Decl *Sema::ActOnTag(Scope *S, unsigned TagSpec, TagUseKind TUK, // C++0x 7.2p2: The type-specifier-seq of an enum-base shall name an // integral type; any cv-qualification is ignored. TypeSourceInfo *TI = 0; - QualType T = GetTypeFromParser(UnderlyingType.get(), &TI); + GetTypeFromParser(UnderlyingType.get(), &TI); EnumUnderlying = TI; if (CheckEnumUnderlyingType(TI)) -- 2.40.0