From: Douglas Gregor Date: Tue, 1 Dec 2009 03:34:29 +0000 (+0000) Subject: Eliminate warning in Release-Asserts mode. No functionality change X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=958aeb04f466588665c104558b1a7fe4c89161ca;p=clang 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 --- 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(*MemE->decls_begin())); + (void)MemE; return Owned(BuildCallToMemberFunction(S, Fn, LParenLoc, Args, NumArgs, CommaLocs, RParenLoc));