mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-18 11:38:08 +00:00
Fix uninitialized variable
This commit is contained in:
parent
5d47a1093d
commit
dfbf8e031e
2 changed files with 2 additions and 2 deletions
|
|
@ -2608,7 +2608,7 @@ void linphone_core_add_friend_list(LinphoneCore *lc, LinphoneFriendList *list) {
|
|||
|
||||
const bctbx_list_t * linphone_core_find_contacts_by_char(LinphoneCore *core, const char *filter, bool_t sip_only) {
|
||||
// Get sipuri from filter if possible
|
||||
bctbx_list_t *list, *_list = NULL;
|
||||
bctbx_list_t *list = NULL, *_list = NULL;
|
||||
LinphoneAddress *addr = linphone_core_interpret_url(core, (sip_only) ? filter : "");
|
||||
bctbx_list_t* listFriendsList = (bctbx_list_t*)linphone_core_get_friends_lists(core);
|
||||
bctbx_list_t* listFriend = (listFriendsList != NULL)
|
||||
|
|
|
|||
|
|
@ -74,7 +74,7 @@ list<Content> ContentManager::multipartToContentLists (Content content) const {
|
|||
Content ContentManager::contentsListToMultipart (list<Content> contents) const {
|
||||
char *desc;
|
||||
string sub;
|
||||
belle_sip_memory_body_handler_t *mbh;
|
||||
belle_sip_memory_body_handler_t *mbh = NULL;
|
||||
belle_sip_multipart_body_handler_t *mpbh = belle_sip_multipart_body_handler_new(NULL, NULL, NULL, MULTIPART_BOUNDARY);
|
||||
belle_sip_object_ref(mpbh);
|
||||
for (const auto &content : contents) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue