From: Shashank Shekhar Shukla Date: Wed, 16 Mar 2016 10:19:30 +0000 (+0530) Subject: Corrected empty body 'if' warning X-Git-Tag: 1.2.0+RC1~526 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=14bd3f0eb7b305f6d536eab1622ce9274956bc79;p=platform%2Fupstream%2Fiotivity.git Corrected empty body 'if' warning Change-Id: I6a7a8f0f1374e84bede366d4cc6b2d87c71eec94 Signed-off-by: Shashank Shekhar Shukla Reviewed-on: https://gerrit.iotivity.org/gerrit/5965 Tested-by: jenkins-iotivity Reviewed-by: Jon A. Cruz --- diff --git a/resource/csdk/connectivity/lib/libcoap-4.1.1/option.c b/resource/csdk/connectivity/lib/libcoap-4.1.1/option.c index 8cf2ae6..ea60aab 100644 --- a/resource/csdk/connectivity/lib/libcoap-4.1.1/option.c +++ b/resource/csdk/connectivity/lib/libcoap-4.1.1/option.c @@ -74,7 +74,9 @@ size_t coap_opt_parse(const coap_opt_t *opt, size_t length, coap_option_t *resul { case 15: if (*opt != COAP_PAYLOAD_START) + { debug("ignored reserved option delta 15\n"); + } return 0; case 14: /* Handle two-byte value: First, the MSB + 269 is stored as delta value.