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;
}
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits