From a5fdc870fd2a9a4877093a8f17878fcf30a08f09 Mon Sep 17 00:00:00 2001 From: Donat Zenichev Date: Thu, 12 Sep 2024 09:26:00 +0200 Subject: [PATCH] MT#60476 sdp_create: no need to initialze prtp to NULL It will anyway always get set to NULL during each media iteration. Change-Id: I1994a1228df59a8f7d8f21a71c6612270815b24e --- daemon/sdp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/sdp.c b/daemon/sdp.c index d8d1bc534..a771965e7 100644 --- a/daemon/sdp.c +++ b/daemon/sdp.c @@ -3707,7 +3707,7 @@ int sdp_create(str *out, struct call_monologue *monologue, sdp_ng_flags *flags) { const char *err = NULL; GString *s = NULL; - const struct transport_protocol *prtp = NULL; + const struct transport_protocol *prtp; unsigned int port; err = "Need at least one media";