summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-06-04 09:27:56 +0200
committerGitHub <noreply@github.com>2019-06-04 09:27:56 +0200
commit522b09db899d35f291b0f272fc9bba690adae914 (patch)
treebcc5187aad1d31876a3ab01553d689dc8b6a702c
parent2844b76feb842149d5ab09f0155c5f439378e596 (diff)
parent923aaf970fa05225cf3b55ba3c5df5fba475247c (diff)
Merge pull request #29449 from dawikur/fix/NULL_assignment
Remove unnecessary assignment
-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;