From 975903811a99542c48c3bfdcc6461192691af377 Mon Sep 17 00:00:00 2001 From: "Alfred E. Heggestad" <114750+alfredh@users.noreply.github.com> Date: Wed, 19 Jun 2024 11:11:42 +0200 Subject: [PATCH] test: init err in test_sip_auth_encode() --- 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};