From d87b63947c6955c7a109cab6dde3c404e976beee Mon Sep 17 00:00:00 2001 From: "Alfred E. Heggestad" Date: Sun, 17 Sep 2023 14:00:42 +0200 Subject: [PATCH] test: init err to 0 in sdp test (cppcheck) --- test/sdp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/sdp.c b/test/sdp.c index 4df02059f..050279faa 100644 --- a/test/sdp.c +++ b/test/sdp.c @@ -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)