[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; ^

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] libnm-glib: suppress warnings unless LIBNM_GLIB_DEBUG is set

2014-02-06 Thread Dan Williams
Most of these warnings are things libnm-glib can't do anything about, and they are pretty annoying when running nmcli or nmtui, and libraries usually shouldn't print random warnings anyway. Downgrade them to debug messages that can be enabled if we need to see them. --- libnm-glib/nm-object.c |