]> granicus.if.org Git - clang/commitdiff
Eliminate warning in Release-Asserts mode. No functionality change
authorDouglas Gregor <dgregor@apple.com>
Tue, 1 Dec 2009 03:34:29 +0000 (03:34 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 1 Dec 2009 03:34:29 +0000 (03:34 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90204 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Sema/SemaExpr.cpp

index 55adbb59e34bb66ffbcede3940fff9455b6972f8..f653cf63d803b010a0d638cbcae998d37aec8705 100644 (file)
@@ -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));