summaryrefslogtreecommitdiffstats
path: root/clang/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
commit8f184a31d05d91af8730c48f524db23724974118 (patch)
tree27825928075c291c65e4ff4222b9d3b77d219585 /clang/lib
parent4b25bac791a0bc262944f21e825e3df6cda388d2 (diff)
downloadbcm5719-llvm-8f184a31d05d91af8730c48f524db23724974118.tar.gz
bcm5719-llvm-8f184a31d05d91af8730c48f524db23724974118.zip
Eliminate warning in Release-Asserts mode. No functionality change
llvm-svn: 90204
Diffstat (limited to 'clang/lib')
-rw-r--r--clang/lib/Sema/SemaExpr.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Sema/SemaExpr.cpp b/clang/lib/Sema/SemaExpr.cpp
index 55adbb59e34..f653cf63d80 100644
--- a/clang/lib/Sema/SemaExpr.cpp
+++ b/clang/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));
OpenPOWER on IntegriCloud