From: John McCall Date: Wed, 15 Jun 2011 23:40:09 +0000 (+0000) Subject: Suppress a warning in -Asserts builds. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=175d6596a53508d8ac2ff844672bab0dd0bd7c91;p=clang Suppress a warning in -Asserts builds. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133110 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/CGDecl.cpp b/lib/CodeGen/CGDecl.cpp index 14e999f589..b013446f6b 100644 --- a/lib/CodeGen/CGDecl.cpp +++ b/lib/CodeGen/CGDecl.cpp @@ -1082,6 +1082,7 @@ void CodeGenFunction::EmitParmDecl(const VarDecl &D, llvm::Value *Arg, const ObjCMethodDecl *method = cast(CurCodeDecl); assert(&D == method->getSelfDecl()); assert(method->getMethodFamily() != OMF_init); + (void) method; lt = Qualifiers::OCL_ExplicitNone; }