summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYaron Keren <yaron.keren@gmail.com>2017-02-22 14:32:39 +0000
committerYaron Keren <yaron.keren@gmail.com>2017-02-22 14:32:39 +0000
commit4cd211b5dea35cdfcbd476bc60802b60132d8866 (patch)
treea5412de7ae534d2a4984047d2b618c2d9310ccd5
parent8474470500137994080bd79cdb4111f7cbc6674d (diff)
downloadbcm5719-llvm-4cd211b5dea35cdfcbd476bc60802b60132d8866.tar.gz
bcm5719-llvm-4cd211b5dea35cdfcbd476bc60802b60132d8866.zip
Remove superfluous initializer.
The following fully-covered switch either sets value to External or exits the function. llvm-svn: 295839
-rw-r--r--clang/lib/AST/ASTContext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/ASTContext.cpp b/clang/lib/AST/ASTContext.cpp
index 7416894b81f..103c7e191cc 100644
--- a/clang/lib/AST/ASTContext.cpp
+++ b/clang/lib/AST/ASTContext.cpp
@@ -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:
OpenPOWER on IntegriCloud