diff options
-rw-r--r-- | bgpd/bgp_ecommunity.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_ecommunity.c b/bgpd/bgp_ecommunity.c index 1ab59e62c..5bb4248a5 100644 --- a/bgpd/bgp_ecommunity.c +++ b/bgpd/bgp_ecommunity.c @@ -650,7 +650,7 @@ static int ecommunity_lb_str(char *buf, size_t bufsz, const uint8_t *pnt) as = (*pnt++ << 8); as |= (*pnt++); - pnt = ptr_get_be32(pnt, &bw); + (void)ptr_get_be32(pnt, &bw); if (bw >= ONE_GBPS_BYTES) sprintf(bps_buf, "%.3f Gbps", (float)(bw/ONE_GBPS_BYTES)); else if (bw >= ONE_MBPS_BYTES) |