diff options
author | Yaron Keren <yaron.keren@gmail.com> | 2017-02-22 14:32:39 +0000 |
---|---|---|
committer | Yaron Keren <yaron.keren@gmail.com> | 2017-02-22 14:32:39 +0000 |
commit | 4cd211b5dea35cdfcbd476bc60802b60132d8866 (patch) | |
tree | a5412de7ae534d2a4984047d2b618c2d9310ccd5 | |
parent | 8474470500137994080bd79cdb4111f7cbc6674d (diff) | |
download | bcm5719-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.cpp | 2 |
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: |