From 0d2079f51162d96808b6eb867512714f837c1865 Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Tue, 30 Jul 2024 10:06:32 -0400 Subject: [PATCH] MT#55283 remove unused _get_alt Change-Id: Ic306741789d6087322f4ecb68f05178548ab08e8 --- daemon/call_interfaces.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/daemon/call_interfaces.c b/daemon/call_interfaces.c index c19798f24..f3b4e271d 100644 --- a/daemon/call_interfaces.c +++ b/daemon/call_interfaces.c @@ -505,12 +505,6 @@ INLINE void str_hyphenate(str *s_ori) { str_shift(&s, 1); } } -INLINE char *bencode_get_alt(bencode_item_t *i, const char *one, const char *two, str *out) { - char *o; - if ((o = bencode_dictionary_get_str(i, one, out))) - return o; - return bencode_dictionary_get_str(i, two, out); -} INLINE void ng_sdes_option(sdp_ng_flags *out, str *s, helper_arg dummy) { str_hyphenate(s);