network: make check-pointer-deref clean
Add the needed assert changes to make the code clean for the new check-pointer-deref script.
This commit is contained in:
@@ -862,6 +862,7 @@ static int link_put_carrier(Link *link, Link *carrier, Hashmap **h) {
|
||||
|
||||
assert(link);
|
||||
assert(carrier);
|
||||
assert(h);
|
||||
|
||||
if (link == carrier)
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user