diff --git a/clang/lib/CodeGen/CGDecl.cpp b/clang/lib/CodeGen/CGDecl.cpp index 14e999f589ca..b013446f6b60 100644 --- a/clang/lib/CodeGen/CGDecl.cpp +++ b/clang/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; }