summaryrefslogtreecommitdiffstats
path: root/llvm/utils/unittest/googletest/include/gtest/internal
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
commit780792dc86da5a7ccac263ab71bbcc56365cf83e (patch)
treee703fb7fb7d63b12a46bbb88d959bfb6ea6b2885 /llvm/utils/unittest/googletest/include/gtest/internal
parentc48b976c08be8f0e75d6efef8fa7abbb41912d27 (diff)
downloadbcm5719-llvm-780792dc86da5a7ccac263ab71bbcc56365cf83e.tar.gz
bcm5719-llvm-780792dc86da5a7ccac263ab71bbcc56365cf83e.zip
Fix -Asserts warnings.
llvm-svn: 101191
Diffstat (limited to 'llvm/utils/unittest/googletest/include/gtest/internal')
-rw-r--r--llvm/utils/unittest/googletest/include/gtest/internal/gtest-linked_ptr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/utils/unittest/googletest/include/gtest/internal/gtest-linked_ptr.h b/llvm/utils/unittest/googletest/include/gtest/internal/gtest-linked_ptr.h
index f98af0b123b..d4c7a39b0ec 100644
--- a/llvm/utils/unittest/googletest/include/gtest/internal/gtest-linked_ptr.h
+++ b/llvm/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;
OpenPOWER on IntegriCloud