summaryrefslogtreecommitdiffstats
path: root/babeld
diff options
context:
space:
mode:
authorVincent JARDIN <vincent.jardin@6wind.com>2017-09-28 00:18:36 +0200
committerVincent JARDIN <vincent.jardin@6wind.com>2017-10-02 09:14:03 +0200
commit04d14c8be13f7218c0bc4279a6ec178276588e3e (patch)
tree472333a9bdc82b676e47da4cad18ddd5a77bbbff /babeld
parentospf_packet: scan-build/clang clean up (diff)
downloadfrr-04d14c8be13f7218c0bc4279a6ec178276588e3e.tar.xz
frr-04d14c8be13f7218c0bc4279a6ec178276588e3e.zip
scan-build: fix warning
Do not change the implementation, just fix scan-build/clang warning.
Diffstat (limited to 'babeld')
-rw-r--r--babeld/neighbour.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/babeld/neighbour.c b/babeld/neighbour.c
index 5bf7e06fa..48a32c4a9 100644
--- a/babeld/neighbour.c
+++ b/babeld/neighbour.c
@@ -165,7 +165,6 @@ update_neighbour(struct neighbour *neigh, int hello, int hello_interval)
if(missed_hellos > 0) {
neigh->reach >>= missed_hellos;
neigh->hello_seqno = seqno_plus(neigh->hello_seqno, missed_hellos);
- missed_hellos = 0;
rc = 1;
}