X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=list.c;h=a2d7ff6bc5758d30a4c4b9f02096fff10af73817;hp=fe9c41e52d8601d3934ceacd5856ffedb632dbd0;hb=b96bbd5a8d4395d91421599c58b9a2f63173db2f;hpb=7e5dddf41e07b32e2c75fb5d968b9318dc58c92a diff --git a/list.c b/list.c index fe9c41e5..a2d7ff6b 100644 --- a/list.c +++ b/list.c @@ -144,11 +144,6 @@ void destroy_list (struct list *the_list) *********************************************************************/ static int list_is_valid (const struct list *the_list) { - /* - * If you don't want this check, just change the line below - * from "#if 1" to "#if 0". - */ -#if 1 const struct list_entry *cur_entry; const struct list_entry *last_entry = NULL; int entry = 0; @@ -201,9 +196,7 @@ static int list_is_valid (const struct list *the_list) } return (the_list->last == last_entry); -#else - return 1; -#endif + } #endif /* ndef NDEBUG */