[cfe-commits] r133110 - /cfe/trunk/lib/CodeGen/CGDecl.cpp
John McCall
rjmccall at apple.com
Wed Jun 15 16:40:10 PDT 2011
Author: rjmccall
Date: Wed Jun 15 18:40:09 2011
New Revision: 133110
URL: http://llvm.org/viewvc/llvm-project?rev=133110&view=rev
Log:
Suppress a warning in -Asserts builds.
Modified:
cfe/trunk/lib/CodeGen/CGDecl.cpp
Modified: cfe/trunk/lib/CodeGen/CGDecl.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGDecl.cpp?rev=133110&r1=133109&r2=133110&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGDecl.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGDecl.cpp Wed Jun 15 18:40:09 2011
@@ -1082,6 +1082,7 @@
const ObjCMethodDecl *method = cast<ObjCMethodDecl>(CurCodeDecl);
assert(&D == method->getSelfDecl());
assert(method->getMethodFamily() != OMF_init);
+ (void) method;
lt = Qualifiers::OCL_ExplicitNone;
}
More information about the cfe-commits
mailing list