Browse Source

Merge pull request #29449 from dawikur/fix/NULL_assignment

Remove unnecessary assignment
Rémi Verschelde 6 years ago
parent
commit
522b09db89
1 changed files with 0 additions and 3 deletions
  1. 0 3
      core/list.h

+ 0 - 3
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;