From 5628b799c53508af823014b26eb38feed446713d Mon Sep 17 00:00:00 2001 From: "Alfred E. Heggestad" <114750+alfredh@users.noreply.github.com> Date: Wed, 19 Jun 2024 11:21:28 +0200 Subject: [PATCH] test: init err in test_sip_auth_encode() (#1146) --- test/sipauth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/sipauth.c b/test/sipauth.c index 7ae8729a1..ec627f748 100644 --- a/test/sipauth.c +++ b/test/sipauth.c @@ -74,7 +74,7 @@ static int auth_handler(char **user, char **pass, const char *rlm, void *arg) static int test_sip_auth_encode(void) { - int err; + int err = 0; struct mbuf *mb, *mb_enc; struct sip_auth *auth = NULL; char buf[1024] = {0};