aboutsummaryrefslogtreecommitdiff
path: root/utils/unittest
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-04-13 23:34:11 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-04-13 23:34:11 +0000
commit07b3a041b45f376ea182d8b4ade7b01bfaa9ab2c (patch)
tree2747367600ad7c71148a02f15d9b101b9b66f31b /utils/unittest
parent7cc11ce5a67697497df7da377883a1a3cdbba170 (diff)
Fix -Asserts warnings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101191 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/unittest')
-rw-r--r--utils/unittest/googletest/include/gtest/internal/gtest-linked_ptr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/unittest/googletest/include/gtest/internal/gtest-linked_ptr.h b/utils/unittest/googletest/include/gtest/internal/gtest-linked_ptr.h
index f98af0b123..d4c7a39b0e 100644
--- a/utils/unittest/googletest/include/gtest/internal/gtest-linked_ptr.h
+++ b/utils/unittest/googletest/include/gtest/internal/gtest-linked_ptr.h
@@ -176,6 +176,7 @@ class linked_ptr {
// Sole ownership by this linked_ptr object is required.
T* release() {
bool last = link_.depart();
+ (void) last;
assert(last);
T* v = value_;
value_ = NULL;