summaryrefslogtreecommitdiff
path: root/lib/compiler.h
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2019-08-06 17:18:41 -0300
committerRenato Westphal <renato@opensourcerouting.org>2019-08-21 00:57:17 -0300
commit1e4d64aa6ff02a86a50e1211e3649ad44497b01f (patch)
tree238da1850a3aec9ea0eb3d39028e9e3b60b69286 /lib/compiler.h
parent6fa6324d4bc3dd7ed9ad5702fb44334abe485236 (diff)
isisd: remove unnecessary null checks
These null checks don't make sense because a) these two functions are never called with a NULL IP address and b) the same pointers are dereferenced later without any protection. Remove these NULL checks to make the code less confusing. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'lib/compiler.h')
0 files changed, 0 insertions, 0 deletions