diff options
author | Vincent JARDIN <vincent.jardin@6wind.com> | 2017-10-08 23:18:36 +0200 |
---|---|---|
committer | Vincent JARDIN <vincent.jardin@6wind.com> | 2017-10-08 23:19:38 +0200 |
commit | 7295876ada80bc62283d44f406ab7550c571d7ea (patch) | |
tree | 5138653f27a5e6733e9a77c50137eec18835b31d /ospfd/ospf_apiserver.c | |
parent | ospf6d: fix clang warning (diff) | |
download | frr-7295876ada80bc62283d44f406ab7550c571d7ea.tar.xz frr-7295876ada80bc62283d44f406ab7550c571d7ea.zip |
ospfd: fix clang warning
Value stored to 'nbraddr' during its initialization is never read
Signed-off-by: Vincent Jardin <vincent.jardin@6wind.com>
Diffstat (limited to 'ospfd/ospf_apiserver.c')
-rw-r--r-- | ospfd/ospf_apiserver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ospfd/ospf_apiserver.c b/ospfd/ospf_apiserver.c index c1485abb8..8c1ad5ff0 100644 --- a/ospfd/ospf_apiserver.c +++ b/ospfd/ospf_apiserver.c @@ -2322,7 +2322,7 @@ void ospf_apiserver_clients_notify_nsm_change(struct ospf_neighbor *nbr) { struct msg *msg; struct in_addr ifaddr = {.s_addr = 0L}; - struct in_addr nbraddr = {.s_addr = 0L}; + struct in_addr nbraddr; assert(nbr); |