diff options
author | John McCall <rjmccall@apple.com> | 2011-06-15 23:40:09 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2011-06-15 23:40:09 +0000 |
commit | 175d6596a53508d8ac2ff844672bab0dd0bd7c91 (patch) | |
tree | 97ebff52bf4f85841c75f7d85c20019c9cdcffdc /lib/CodeGen/CGDecl.cpp | |
parent | 82d1cc06ea533267e24ffe8b5885062ca062b479 (diff) |
Suppress a warning in -Asserts builds.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133110 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGDecl.cpp')
-rw-r--r-- | lib/CodeGen/CGDecl.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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<ObjCMethodDecl>(CurCodeDecl); assert(&D == method->getSelfDecl()); assert(method->getMethodFamily() != OMF_init); + (void) method; lt = Qualifiers::OCL_ExplicitNone; } |