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 15:33:06 +0000 (16:33 +0100)
commit752a2ccec8cab65e18b9a57be6cc9adf6cc1f444
treeb1a34c0d14e3c3586bbadfb4a69656499b9ed97a
parent5713d5e19f9b6d67d1570fd09c647a5640a1a1a6
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