diff options
| author | Mark Stapp <mjs@voltanet.io> | 2020-04-07 12:56:43 -0400 | 
|---|---|---|
| committer | Mark Stapp <mjs@voltanet.io> | 2020-04-07 12:56:43 -0400 | 
| commit | 83ac8d129a912abf83549432f150adc805f9d605 (patch) | |
| tree | 237f40802c6ad64bd978fdc516df5263210e64aa /bgpd/bgp_ecommunity.c | |
| parent | 7611871dfc447bc56f6b4e7c2937f0583ebf000f (diff) | |
bgpd: clean up SA warning in bgp_ecommunity.c
Signed-off-by: Mark Stapp <mjs@voltanet.io>
Diffstat (limited to 'bgpd/bgp_ecommunity.c')
| -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 1ab59e62cb..5bb4248a57 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)  | 
