]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
lldp: use NULL instead 0, when we deal with a pointer
authorLennart Poettering <lennart@poettering.net>
Thu, 2 Jun 2016 15:48:05 +0000 (17:48 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 6 Jun 2016 17:59:08 +0000 (19:59 +0200)
src/libsystemd-network/lldp-neighbor.c

index a4af303259ee4453529cd37d266d72804a46c1f9..5811e0f2e8b0624712d233b0f78f4eaa61d6d1ee 100644 (file)
@@ -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;
 }