mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-21 21:28:08 +00:00
Compilation fixes.
This commit is contained in:
parent
bf849dd3fa
commit
b2df3b492e
2 changed files with 3 additions and 3 deletions
|
|
@ -47,7 +47,7 @@ liblinphone_la_SOURCES=\
|
|||
event.c \
|
||||
friend.c \
|
||||
friendlist.c \
|
||||
im_notify_policy.c \
|
||||
im_notif_policy.c \
|
||||
info.c \
|
||||
ldapprovider.c \
|
||||
linphonecall.c \
|
||||
|
|
|
|||
|
|
@ -419,7 +419,7 @@ static int linphone_chat_room_get_messages_count(LinphoneChatRoom *cr, bool_t un
|
|||
int numrows=0;
|
||||
char *peer;
|
||||
char *buf;
|
||||
char *option;
|
||||
char *option = NULL;
|
||||
sqlite3_stmt *selectStatement;
|
||||
int returnValue;
|
||||
|
||||
|
|
@ -447,7 +447,7 @@ static int linphone_chat_room_get_messages_count(LinphoneChatRoom *cr, bool_t un
|
|||
* because it has been tested above */
|
||||
if(unread_only) {
|
||||
cr->unread_count = numrows;
|
||||
bctbx_free(option);
|
||||
if (option) bctbx_free(option);
|
||||
}
|
||||
|
||||
return numrows;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue