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
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 *')
>
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 | 77