Re: [patch] libqcdm: use NULL instead of 0 for empty pointer

2014-02-06 Thread Dan Williams
On Wed, 2014-02-05 at 16:08 -0800, Yunlian Jiang wrote: > When I use clang 3.5 to build it, I got Applied & pushed, thanks! Dan > commands.c:1444:16: error: expression which evaluates to zero treated as a > null > pointer constant of type 'QcdmResult *' (aka 'struct QcdmResult *') >

[patch] libqcdm: use NULL instead of 0 for empty pointer

2014-02-06 Thread Yunlian Jiang
When I use clang 3.5 to build it, I got commands.c:1444:16: error: expression which evaluates to zero treated as a null pointer constant of type 'QcdmResult *' (aka 'struct QcdmResult *') [-Werror,-Wnon-literal-null-conversion] return FALSE; ^ ./utils.h:29:15