diff options
author | Chris Hall <GMCH@hestia.halldom.com> | 2010-04-16 22:28:41 +0100 |
---|---|---|
committer | Chris Hall <GMCH@hestia.halldom.com> | 2010-04-16 22:28:41 +0100 |
commit | 075b751cfe1ae87c416eceb68e01b5f8b9a9e92b (patch) | |
tree | 1d6089008cab2d37422e5859c5e8c04faf1ba23e /lib/list_util.h | |
parent | 62ecf51e3c652c65c84bb94d794f2533cee1fb9c (diff) | |
download | quagga-075b751cfe1ae87c416eceb68e01b5f8b9a9e92b.tar.bz2 quagga-075b751cfe1ae87c416eceb68e01b5f8b9a9e92b.tar.xz |
Further reduction of warnings under gcc 4.2.1
Diffstat (limited to 'lib/list_util.h')
-rw-r--r-- | lib/list_util.h | 5 |
1 files changed, 2 insertions, 3 deletions
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) \ |