From: jaesick.shin Date: Thu, 20 Oct 2016 05:54:08 +0000 (+0900) Subject: Bug fix about semicolon of if statement. X-Git-Tag: 1.3.0~1054^2~127 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e18437eb27a931fa0f23dbbb00035621dfc4df34;p=platform%2Fupstream%2Fiotivity.git Bug fix about semicolon of if statement. this patch include, bug fix about invalid statement. Change-Id: Ifd9762161058ab1381be2341bf92f0a5184371d9 Signed-off-by: jaesick.shin Reviewed-on: https://gerrit.iotivity.org/gerrit/13475 Tested-by: jenkins-iotivity Reviewed-by: Uze Choi --- diff --git a/service/notification/cpp-wrapper/consumer/src/NSProvider.cpp b/service/notification/cpp-wrapper/consumer/src/NSProvider.cpp index c70a317..e9e4e48 100755 --- a/service/notification/cpp-wrapper/consumer/src/NSProvider.cpp +++ b/service/notification/cpp-wrapper/consumer/src/NSProvider.cpp @@ -161,7 +161,7 @@ namespace OIC getProviderId().c_str()); NSResult result = (NSResult) NSConsumerUpdateTopicList(getProviderId().c_str(), topicLL); - if(topicLL); + if(topicLL) { NSTopicLL * iter = topicLL; NSTopicLL * following = NULL; @@ -169,7 +169,7 @@ namespace OIC while (iter) { following = iter->next; - if(iter); + if(iter) { NSOICFree(iter->topicName); iter->next = NULL;