From 075b751cfe1ae87c416eceb68e01b5f8b9a9e92b Mon Sep 17 00:00:00 2001 From: Chris Hall Date: Fri, 16 Apr 2010 22:28:41 +0100 Subject: Further reduction of warnings under gcc 4.2.1 --- lib/list_util.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'lib/list_util.h') diff --git a/lib/list_util.h b/lib/list_util.h index 10ba8b0c..e5a8b4c0 100644 --- a/lib/list_util.h +++ b/lib/list_util.h @@ -238,15 +238,14 @@ struct dl_void_base_pair base_pair(void*) ; ((base) = NULL) #define ssl_push(base, item, next) \ - do { confirm(_lu_off(base, next) == _lu_off(item, next)) ; \ - (item)->next = (base) ; \ + do { (item)->next = (base) ; \ (base) = item ; \ } while (0) extern int ssl_del_func(void** p_this, void* obj, size_t link_offset) ; #define ssl_del(base, item, next) \ - ssl_del_func((void**)&(base), item, _lu_off(base, next)) + ssl_del_func((void**)&(base), item, _lu_off(item, next)) #define ssl_del_head(base, next) \ do { if ((base) != NULL) \ -- cgit v1.2.3