aboutsummaryrefslogtreecommitdiff
path: root/src/processor/linked_ptr.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/processor/linked_ptr.h')
-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;