summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_packet.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2016-05-07 02:19:05 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-05-19 16:42:26 +0200
commit18f1dc06c59189a2486502560fb95f02d21998ce (patch)
tree59d4fd415d1361034b570baa5d7d480c8bc051eb /bgpd/bgp_packet.c
parentzebra: Clean up some small static analysis warnings (diff)
downloadfrr-18f1dc06c59189a2486502560fb95f02d21998ce.tar.xz
frr-18f1dc06c59189a2486502560fb95f02d21998ce.zip
bgpd: Clean up some static analysis warnings
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com> Reviewed-by: Don Slice <dslice@cumulusnetworks.com> Reviewed-by: Daniel Walton <dwalton@cumulusnetworks.com>
Diffstat (limited to 'bgpd/bgp_packet.c')
-rw-r--r--bgpd/bgp_packet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_packet.c b/bgpd/bgp_packet.c
index 933a50485..08082161f 100644
--- a/bgpd/bgp_packet.c
+++ b/bgpd/bgp_packet.c
@@ -2348,7 +2348,7 @@ bgp_read (struct thread *thread)
goto done;
/* Get size and type again. */
- size = stream_getw_from (peer->ibuf, BGP_MARKER_SIZE);
+ (void)stream_getw_from (peer->ibuf, BGP_MARKER_SIZE);
type = stream_getc_from (peer->ibuf, BGP_MARKER_SIZE + 2);
/* BGP packet dump function. */