forked from OSchip/llvm-project
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:
parent
8474470500
commit
4cd211b5de
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue