From: Andrzej Popowski Date: Mon, 6 Jul 2015 09:50:08 +0000 (+0200) Subject: [Contact] - Removing the macro assert() X-Git-Tag: submit/tizen/20150702.103311^2~1^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a715115e58d4457cbdd00939adc7950b8a7e2c70;p=platform%2Fcore%2Fapi%2Fwebapi-plugins.git [Contact] - Removing the macro assert() Change-Id: I4c27b66d57e516e2b34eaf4ab6bc13204633ec76 Signed-off-by: Andrzej Popowski --- diff --git a/src/contact/contact_util.cc b/src/contact/contact_util.cc index 58ddc571..d8364a43 100755 --- a/src/contact/contact_util.cc +++ b/src/contact/contact_util.cc @@ -20,6 +20,7 @@ #include #include #include "common/converter.h" +#include "common/assert.h" #include "common/logger.h" namespace extension { @@ -286,7 +287,7 @@ PlatformResult GetNumberOfChildRecord(contacts_record_h contacts_record, unsigned int property_id, int* child_count) { LoggerD("Enter"); - assert(child_count); + Assert(child_count); int err = CONTACTS_ERROR_NONE; err = contacts_record_get_child_record_count(contacts_record, property_id,