gdbus: explicitly compare pointers to NULL
authorLucas De Marchi <lucas.demarchi@profusion.mobi>
Sat, 27 Nov 2010 19:39:01 +0000 (17:39 -0200)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 8 Dec 2010 16:38:28 +0000 (17:38 +0100)
commitf4bc5d67fc2d49f3f17e05b405f241983e57aece
tree3cdd0a84126b4b68752ffc128f140d7d1453201f
parent65e9841ecffe3a3cfd7f655859c6ffa98e4cf6c4
gdbus: explicitly compare pointers to NULL

This patch was generated by the following semantic patch
(http://coccinelle.lip6.fr/)

// <smpl>
@fix disable is_null,isnt_null1@
expression *E;
@@

- !E
+ E == NULL
// </smpl>
gdbus/object.c
gdbus/polkit.c
gdbus/watch.c