Browse Source

Merge pull request #29449 from dawikur/fix/NULL_assignment

Remove unnecessary assignment
Rémi Verschelde 6 năm trước cách đây
mục cha
commit
522b09db89
1 tập tin đã thay đổi với 0 bổ sung3 xóa
  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;