mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-24 06:38:08 +00:00
fix warnings
This commit is contained in:
parent
7a13e47f69
commit
b551bb92cd
4 changed files with 6 additions and 4 deletions
|
|
@ -87,5 +87,5 @@ LinphoneAuthInfo *linphone_factory_create_auth_info(const LinphoneFactory *facto
|
|||
}
|
||||
|
||||
LinphoneVcard *linphone_factory_create_vcard(LinphoneFactory *factory) {
|
||||
return linphone_vcard_new();
|
||||
return _linphone_vcard_new();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -963,7 +963,7 @@ int linphone_friend_list_import_friends_from_vcard4_file(LinphoneFriendList *lis
|
|||
}
|
||||
linphone_friend_unref(lf);
|
||||
} else {
|
||||
linphone_vcard_free(vcard);
|
||||
linphone_vcard_unref(vcard);
|
||||
}
|
||||
vcards_iterator = bctbx_list_next(vcards_iterator);
|
||||
}
|
||||
|
|
@ -1002,7 +1002,7 @@ int linphone_friend_list_import_friends_from_vcard4_buffer(LinphoneFriendList *l
|
|||
}
|
||||
linphone_friend_unref(lf);
|
||||
} else {
|
||||
linphone_vcard_free(vcard);
|
||||
linphone_vcard_unref(vcard);
|
||||
}
|
||||
vcards_iterator = bctbx_list_next(vcards_iterator);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -89,7 +89,7 @@ BELLE_SIP_INSTANCIATE_VPTR(LinphoneVcard, belle_sip_object_t,
|
|||
FALSE
|
||||
);
|
||||
|
||||
static LinphoneVcard* _linphone_vcard_new(void) {
|
||||
LinphoneVcard* _linphone_vcard_new(void) {
|
||||
LinphoneVcard* vCard = belle_sip_object_new(LinphoneVcard);
|
||||
vCard->belCard = belcard::BelCardGeneric::create<belcard::BelCard>();
|
||||
return vCard;
|
||||
|
|
|
|||
|
|
@ -99,6 +99,8 @@ bool_t linphone_vcard_compare_md5_hash(LinphoneVcard *vCard);
|
|||
|
||||
void linphone_vcard_clean_cache(LinphoneVcard *vCard);
|
||||
|
||||
LinphoneVcard* _linphone_vcard_new(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue