aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-12-01 03:34:29 +0000
committerDouglas Gregor <dgregor@apple.com>2009-12-01 03:34:29 +0000
commit958aeb04f466588665c104558b1a7fe4c89161ca (patch)
tree05acb54737177d34982988b18151aadd6614f53a /lib
parent56ac85c4fd18ee4af27c81b0ce11b2191461a0a5 (diff)
Eliminate warning in Release-Asserts mode. No functionality change
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90204 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Sema/SemaExpr.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Sema/SemaExpr.cpp b/lib/Sema/SemaExpr.cpp
index 55adbb59e3..f653cf63d8 100644
--- a/lib/Sema/SemaExpr.cpp
+++ b/lib/Sema/SemaExpr.cpp
@@ -3052,6 +3052,7 @@ Sema::ActOnCallExpr(Scope *S, ExprArg fn, SourceLocation LParenLoc,
// method template.
assert((MemE->getNumDecls() > 1) ||
isa<FunctionTemplateDecl>(*MemE->decls_begin()));
+ (void)MemE;
return Owned(BuildCallToMemberFunction(S, Fn, LParenLoc, Args, NumArgs,
CommaLocs, RParenLoc));