Do not change the implementation, just fix scan-build/clang warning.
if(missed_hellos > 0) {
neigh->reach >>= missed_hellos;
neigh->hello_seqno = seqno_plus(neigh->hello_seqno, missed_hellos);
- missed_hellos = 0;
rc = 1;
}
int exist_cluster;
int internal_as_route;
int confed_as_route;
- int ret;
+ int ret = 0;
char new_buf[PATH_ADDPATH_STR_BUFFER];
char exist_buf[PATH_ADDPATH_STR_BUFFER];
u_int32_t new_mm_seq;
}
/* 1. Weight check. */
- new_weight = exist_weight = 0;
-
new_weight = newattr->weight;
exist_weight = existattr->weight;