diff options
author | Matt Beaumont-Gay <matthewbg@google.com> | 2012-07-09 18:55:31 +0000 |
---|---|---|
committer | Matt Beaumont-Gay <matthewbg@google.com> | 2012-07-09 18:55:31 +0000 |
commit | ad0bb8e3617ef256c7765aab3cdd6c7d5bec18a8 (patch) | |
tree | 7e80e94cefe390a8a1a03139701981c16d630bf6 /clang/lib/Serialization/ASTReaderStmt.cpp | |
parent | 9bf2b5677db4bfbe0968b8a005d2a76c67daf6be (diff) | |
download | bcm5719-llvm-ad0bb8e3617ef256c7765aab3cdd6c7d5bec18a8.tar.gz bcm5719-llvm-ad0bb8e3617ef256c7765aab3cdd6c7d5bec18a8.zip |
Silence unused variable warning in -Asserts build
llvm-svn: 159954
Diffstat (limited to 'clang/lib/Serialization/ASTReaderStmt.cpp')
-rw-r--r-- | clang/lib/Serialization/ASTReaderStmt.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Serialization/ASTReaderStmt.cpp b/clang/lib/Serialization/ASTReaderStmt.cpp index 7d56f10eb53..c5325b5f783 100644 --- a/clang/lib/Serialization/ASTReaderStmt.cpp +++ b/clang/lib/Serialization/ASTReaderStmt.cpp @@ -165,6 +165,7 @@ void ASTStmtReader::VisitAttributedStmt(AttributedStmt *S) { uint64_t NumAttrs = Record[Idx++]; AttrVec Attrs; Reader.ReadAttributes(F, Attrs, Record, Idx); + (void)NumAttrs; assert(NumAttrs == S->NumAttrs); assert(NumAttrs == Attrs.size()); std::copy(Attrs.begin(), Attrs.end(), S->Attrs); |