Remove superfluous initializer.

The following fully-covered switch either sets value to External or exits the function.

llvm-svn: 295839
This commit is contained in:
Yaron Keren 2017-02-22 14:32:39 +00:00
parent 8474470500
commit 4cd211b5de
1 changed files with 1 additions and 1 deletions

View File

@ -8810,7 +8810,7 @@ static GVALinkage basicGVALinkageForFunction(const ASTContext &Context,
if (!FD->isExternallyVisible())
return GVA_Internal;
GVALinkage External = GVA_StrongExternal;
GVALinkage External;
switch (FD->getTemplateSpecializationKind()) {
case TSK_Undeclared:
case TSK_ExplicitSpecialization: