summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorDawid Kurek <dawikur@gmail.com>2019-06-03 23:25:07 +0200
committerDawid Kurek <dawikur@gmail.com>2019-06-03 23:25:07 +0200
commit923aaf970fa05225cf3b55ba3c5df5fba475247c (patch)
tree01df9cccc97af5ea1c5572eed5b97029efece6e1 /core
parent774a9fde84a0282c40da1dd891b613ed200ff9a8 (diff)
Remove unnecessary assignment
Diffstat (limited to 'core')
-rw-r--r--core/list.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/core/list.h b/core/list.h
index 103a82a31d..d1b528562d 100644
--- a/core/list.h
+++ b/core/list.h
@@ -602,9 +602,6 @@ public:
Element *next = current->next_ptr;
- //disconnect
- current->next_ptr = NULL;
-
if (from != current) {
current->prev_ptr = NULL;