lldp: use NULL instead 0, when we deal with a pointer
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user