From f46fe98f9d165694e7b9faa7d725f0f2475a7c52 Mon Sep 17 00:00:00 2001 From: Donat Zenichev Date: Fri, 13 Sep 2024 13:51:09 +0200 Subject: [PATCH] MT#56465 sdp_out_add_session_name: remove unused func param `opmode` isn't used in this function. Change-Id: Ie70c141a91a8633f84933dbd3da6a5b10c60d8f0 --- daemon/sdp.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/daemon/sdp.c b/daemon/sdp.c index 7e0c4b5f6f..b0a0764518 100644 --- a/daemon/sdp.c +++ b/daemon/sdp.c @@ -3565,8 +3565,7 @@ static void sdp_out_add_origin(GString *out, struct call_monologue *monologue, STR_FMT(&orig_address)); } -static void sdp_out_add_session_name(GString *out, struct call_monologue *monologue, - enum call_opmode opmode) +static void sdp_out_add_session_name(GString *out, struct call_monologue *monologue) { /* PUBLISH exceptionally doesn't include sdp session name from SDP. * The session name and other values should be copied only from a source SDP, @@ -3824,7 +3823,7 @@ int sdp_create(str *out, struct call_monologue *monologue, sdp_ng_flags *flags) sdp_out_add_origin(s, monologue, first_ps, flags); /* add an actual sdp session name */ - sdp_out_add_session_name(s, monologue, flags->opmode); + sdp_out_add_session_name(s, monologue); /* don't set connection on the session level * but instead per media, below */