From d398c2c61904dd2c128c830dfaa0936be35a039b Mon Sep 17 00:00:00 2001 From: Ghislain MARY Date: Wed, 1 Feb 2017 13:38:16 +0100 Subject: [PATCH] Fix build. --- coreapi/chat.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/coreapi/chat.c b/coreapi/chat.c index f35b74f53..64c00253f 100644 --- a/coreapi/chat.c +++ b/coreapi/chat.c @@ -1472,10 +1472,7 @@ void linphone_chat_message_set_is_secured(LinphoneChatMessage *msg, bool_t secur } bool_t linphone_chat_message_is_secured(LinphoneChatMessage *msg) { - if(msg) { - return msg->is_secured; - } - return NULL; + return msg->is_secured; } LinphoneAddress *linphone_chat_message_get_local_address(const LinphoneChatMessage *msg) {