From: vivek Date: Tue, 28 Aug 2018 01:39:13 +0000 (+0000) Subject: zebra: Fix warnings X-Git-Tag: frr-7.1-dev~395^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=bf437f900d2cdc1ffb7f7ac75dc267b2d766e44a;p=mirror%2Ffrr.git zebra: Fix warnings Signed-off-by: Vivek Venkatraman --- diff --git a/zebra/zebra_vxlan.c b/zebra/zebra_vxlan.c index 9dfbfe6ce2..50f28bd6a3 100644 --- a/zebra/zebra_vxlan.c +++ b/zebra/zebra_vxlan.c @@ -2132,9 +2132,8 @@ static int zvni_local_neigh_update(zebra_vni_t *zvni, return 0; } - if (!check_rbit) { + if (!check_rbit) return 0; - } /* If the MAC's sequence number has changed, inform the MAC and all * neighbors associated with the MAC to BGP, else just inform this @@ -4044,7 +4043,7 @@ static void process_remote_macip_add(vni_t vni, struct zebra_if *zif = NULL; uint32_t tmp_seq; uint8_t sticky = 0; - u_char remote_gw = 0; + uint8_t remote_gw = 0; uint8_t router_flag = 0; /* Locate VNI hash entry - expected to exist. */