Fixed static analysis issues in RI.
authorJaehong Jo <jaehong.jo@samsung.com>
Wed, 26 Oct 2016 04:41:59 +0000 (13:41 +0900)
committerAshok Babu Channa <ashok.channa@samsung.com>
Thu, 27 Oct 2016 07:10:26 +0000 (07:10 +0000)
commitddad0f6b2e46858d823adc45c83e38be2abaa428
treeba1845ee0a99cb6960c67a00337fa0204629a885
parentb0b2a3d051c463a581bf3aa84887a8973174c083
Fixed static analysis issues in RI.

Add null check and initial value

Change-Id: I25121862916dabd1771bbd578f3b506d01272e05
Signed-off-by: Jaehong Jo <jaehong.jo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/13679
Reviewed-by: Jaewook Jung <jw0213.jung@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Hyuna Jo <hyuna0213.jo@samsung.com>
Reviewed-by: Dave Thaler <dthaler@microsoft.com>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
resource/csdk/connectivity/src/ip_adapter/caipserver.c
resource/csdk/stack/src/ocobserve.c