diff options
author | DeLesley Hutchins <delesley@google.com> | 2012-09-11 18:32:12 +0000 |
---|---|---|
committer | DeLesley Hutchins <delesley@google.com> | 2012-09-11 18:32:12 +0000 |
commit | c9e418c21c7a05ac90fd8013a19c6d1a86b052ee (patch) | |
tree | 695cf3a0043c9ac6b02468670db5768cb38add95 | |
parent | 24a6c9459a50248e502884f129c789d452f70acc (diff) |
Fix warning from r163642
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@163643 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Sema/SemaDeclAttr.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Sema/SemaDeclAttr.cpp b/lib/Sema/SemaDeclAttr.cpp index 3b0820a5eb..ae394d78b9 100644 --- a/lib/Sema/SemaDeclAttr.cpp +++ b/lib/Sema/SemaDeclAttr.cpp @@ -864,7 +864,6 @@ static void handleLockReturnedAttr(Sema &S, Decl *D, if (!checkAttributeNumArgs(S, Attr, 1)) return; - Expr *Arg = Attr.getArg(0); if (!isa<FunctionDecl>(D) && !isa<FunctionTemplateDecl>(D)) { S.Diag(Attr.getLoc(), diag::warn_thread_attribute_wrong_decl_type) |