Skip to content

Commit f0812a0

Browse files
committed
fix build
1 parent 47f89af commit f0812a0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/skiplist.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ node_insert(skiplist* list, skip_node* x, skip_node** update)
169169
}
170170

171171
x->prev = (update[0] == list->head) ? NULL : update[0];
172-
if (update[0]->link && update[0]->link[0])
172+
if (update[0]->link[0])
173173
update[0]->link[0]->prev = x;
174174
for (unsigned k = 0; k < nlinks; k++) {
175175
ASSERT(update[k]->link_count > k);

0 commit comments

Comments
 (0)