Commit 33fc3e60 authored by vdimov's avatar vdimov

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'
  ------------------------------------------------------------------------
parent f8e95d59
...@@ -110,7 +110,7 @@ Adds the node as the last element in a two-way linked list. ...@@ -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)\ #define UT_LIST_ADD_LAST(NAME, BASE, N)\
{\ {\
ut_ad(N);\ ut_ad(N != NULL);\
((BASE).count)++;\ ((BASE).count)++;\
((N)->NAME).prev = (BASE).end;\ ((N)->NAME).prev = (BASE).end;\
((N)->NAME).next = NULL;\ ((N)->NAME).next = NULL;\
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment