Fixing Klocwork reported error in secure sample apps
authorSachin Agrawal <sachin.agrawal@intel.com>
Fri, 27 Feb 2015 19:49:26 +0000 (11:49 -0800)
committerSudarshan Prasad <sudarshan.prasad@intel.com>
Mon, 2 Mar 2015 03:56:41 +0000 (03:56 +0000)
commit1bcb167b15a273a8f0ea14d0f2fe3b79e3a12814
tree251c277e30d39dd64fcd87c80b2c0f0209dd9043
parent46788fa22cf4dfc561c47ef42b11fe6c3eeb76a6
Fixing Klocwork reported error in secure sample apps

Recently OCDoResource API was updated to take a NULL handle.
Updated sample apps to pass a NULL handle. This will stop
Klocwork on generating false positives.

Change-Id: I35f81cdde155a4118578ea86a35a981038c22f2e
Signed-off-by: Sachin Agrawal <sachin.agrawal@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/421
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Erich Keane <erich.keane@intel.com>
Reviewed-by: Sakthivel Samidurai <sakthivel.samidurai@intel.com>
Reviewed-by: Sudarshan Prasad <sudarshan.prasad@intel.com>
resource/csdk/stack/samples/linux/secure/occlientbasicops.cpp