aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorted.mielczarek@gmail.com <ted.mielczarek@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e>2012-09-10 19:46:19 +0000
committerted.mielczarek@gmail.com <ted.mielczarek@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e>2012-09-10 19:46:19 +0000
commit3e3324b06b26b678cc541cb2f000611ad78355c4 (patch)
treeca88e0aa3bbd1c49fed17f0deb0b084ae0de25c6 /src
parentFix compiler warnings on Ubuntu Precise. Pull in gmock r408 in the process. (diff)
downloadbreakpad-3e3324b06b26b678cc541cb2f000611ad78355c4.tar.xz
Fix processor to build with clang
R=mark at http://breakpad.appspot.com/451002 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1035 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src')
-rw-r--r--src/processor/linked_ptr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/processor/linked_ptr.h b/src/processor/linked_ptr.h
index 1a4ef7d4..72fbba84 100644
--- a/src/processor/linked_ptr.h
+++ b/src/processor/linked_ptr.h
@@ -128,7 +128,7 @@ class linked_ptr {
// Release ownership of the pointed object and returns it.
// Sole ownership by this linked_ptr object is required.
T* release() {
- bool last = link_.depart();
+ link_.depart();
T* v = value_;
value_ = NULL;
return v;