ospfd: fix clang warning

Value stored to 'nbraddr' during its initialization is never read

Signed-off-by: Vincent Jardin <vincent.jardin@6wind.com>
This commit is contained in:
Vincent JARDIN 2017-10-08 23:18:36 +02:00
parent 6e38a9ece0
commit 7295876ada

View File

@ -2322,7 +2322,7 @@ void ospf_apiserver_clients_notify_nsm_change(struct ospf_neighbor *nbr)
{ {
struct msg *msg; struct msg *msg;
struct in_addr ifaddr = {.s_addr = 0L}; struct in_addr ifaddr = {.s_addr = 0L};
struct in_addr nbraddr = {.s_addr = 0L}; struct in_addr nbraddr;
assert(nbr); assert(nbr);