From ac54ac8d8f03d63722ebeebb9fcc8d51e89bd4e3 Mon Sep 17 00:00:00 2001 From: vdimov <> Date: Fri, 26 Mar 2010 12:32:25 +0000 Subject: [PATCH] branches/innodb+: Merge c6504 from branches/innodb+_persistent_stats: ------------------------------------------------------------------------ r6504 | vasil | 2010-01-21 19:41:38 +0200 (Thu, 21 Jan 2010) | 3 lines Changed paths: M /branches/innodb+_persistent_stats/include/ut0lst.h branches/innodb+: Remove compiler warning the address of 'index1' will always evaluate as 'true' ------------------------------------------------------------------------ --- include/ut0lst.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/ut0lst.h b/include/ut0lst.h index 261d33963dc..94539bef9be 100644 --- a/include/ut0lst.h +++ b/include/ut0lst.h @@ -110,7 +110,7 @@ Adds the node as the last element in a two-way linked list. */ #define UT_LIST_ADD_LAST(NAME, BASE, N)\ {\ - ut_ad(N);\ + ut_ad(N != NULL);\ ((BASE).count)++;\ ((N)->NAME).prev = (BASE).end;\ ((N)->NAME).next = NULL;\