Skip to content

Commit

Permalink
bgpd: Test clang by adding a unused assignment to a function
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Winter <[email protected]>
  • Loading branch information
mwinter-osr committed Oct 16, 2024
1 parent 80dc863 commit 90daa2f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bgpd/bgp_packet.c
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ int bgp_packet_set_marker(struct stream *s, uint8_t type)
for (i = 0; i < BGP_MARKER_SIZE; i++)
stream_putc(s, 0xff);

malloc(5);

/* Dummy total length. This field is should be filled in later on. */
stream_putw(s, 0);

Expand Down

0 comments on commit 90daa2f

Please sign in to comment.