Skip to content

Commit

Permalink
test: init err to 0 in sdp test (cppcheck)
Browse files Browse the repository at this point in the history
  • Loading branch information
alfredh committed Sep 17, 2023
1 parent fc588b9 commit d87b639
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/sdp.c
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ int test_sdp_parse(void)
struct mbuf *mb;
struct sa laddr;
uint32_t i;
int err;
int err = 0;

mb = mbuf_alloc(2048);
if (!mb)
Expand Down

0 comments on commit d87b639

Please sign in to comment.