From a116daa7a1f15ef90c940b2fb48b5234547fc9a6 Mon Sep 17 00:00:00 2001 From: Patrick Pelissier Date: Mon, 28 May 2018 20:58:51 +0200 Subject: [PATCH] Splice_back may work if old & new are the same list. --- m-list.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m-list.h b/m-list.h index 8a13e168..9c67c84d 100644 --- a/m-list.h +++ b/m-list.h @@ -488,7 +488,7 @@ { \ LISTI_CONTRACT(nv); \ LISTI_CONTRACT(ov); \ - assert (it != NULL && nv != ov); \ + assert (it != NULL); \ assert (it->current != NULL); \ assert (M_C(name, _sublist_p)(ov, it)); \ /* Remove it from ov */ \