minor fix in listJoin().

This commit is contained in:
sunweinan 2017-07-06 19:47:21 +08:00 committed by antirez
parent db791a1eee
commit 1cefb1c54b

View File

@ -357,6 +357,6 @@ void listJoin(list *l, list *o) {
l->len += o->len; l->len += o->len;
/* Setup other as an empty list. */ /* Setup other as an empty list. */
o->head = l->tail = NULL; o->head = o->tail = NULL;
o->len = 0; o->len = 0;
} }