diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-09-09 22:32:15 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-09-09 22:32:15 +0000 |
commit | a2b6b76f4bd86ca1b7784ee7a8d790fb804df248 (patch) | |
tree | 5cda7ab286438adb2610a7f58b7f664c278cd4f2 /lib/CodeGen/CGDecl.cpp | |
parent | 0aebc81e02397a5987aaa8e8c7acbdb01a31d7c3 (diff) |
Suppress build warning.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@81384 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 e637d40de0..ec8f626df5 100644 --- a/lib/CodeGen/CGDecl.cpp +++ b/lib/CodeGen/CGDecl.cpp @@ -216,6 +216,7 @@ void CodeGenFunction::EmitStaticBlockVarDecl(const VarDecl &D) { const llvm::Type *CodeGenFunction::BuildByRefType(const ValueDecl *D) { QualType Ty = D->getType(); uint64_t Align = getContext().getDeclAlignInBytes(D); + (void) Align; const llvm::Type *LTy = ConvertType(Ty); bool needsCopyDispose = BlockRequiresCopying(Ty); |