Fix static analysis issue in base layer.
authorJaehong Jo <jaehong.jo@samsung.com>
Thu, 9 Feb 2017 02:58:52 +0000 (11:58 +0900)
committerAshok Babu Channa <ashok.channa@samsung.com>
Mon, 13 Feb 2017 06:20:51 +0000 (06:20 +0000)
commit5c2df9b867d5f9ede7d40ff8e77b1406ffe54dc6
treeee0e3b21ae42a03801c84aa1eb2f2108b7f693d2
parenta9408c7d2d4a18bf9ac00b12f84499dee524484b
Fix static analysis issue in base layer.

ocresource.c, ocstack.c

Change-Id: I8568bb8942eae29da646f7e9efa30d4f73fa9e07
Signed-off-by: Jaehong Jo <jaehong.jo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/17133
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
resource/csdk/stack/src/ocresource.c
resource/csdk/stack/src/ocstack.c