From: Lennart Poettering Date: Thu, 2 Jun 2016 15:48:05 +0000 (+0200) Subject: lldp: use NULL instead 0, when we deal with a pointer X-Git-Tag: v231~207^2~12 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a2966471d815a965e2f4b86cdad30c8086c1ec6d;p=platform%2Fupstream%2Fsystemd.git lldp: use NULL instead 0, when we deal with a pointer --- diff --git a/src/libsystemd-network/lldp-neighbor.c b/src/libsystemd-network/lldp-neighbor.c index a4af303..5811e0f 100644 --- a/src/libsystemd-network/lldp-neighbor.c +++ b/src/libsystemd-network/lldp-neighbor.c @@ -675,7 +675,7 @@ _public_ int sd_lldp_neighbor_from_raw(sd_lldp_neighbor **ret, const void *raw, return r; *ret = n; - n = 0; + n = NULL; return r; }