Changed OCDOResource's handle param to take NULL
authorErich Keane <erich.keane@intel.com>
Mon, 23 Feb 2015 22:40:13 +0000 (14:40 -0800)
committerSashi Penta <sashi.kumar.penta@intel.com>
Fri, 27 Feb 2015 01:41:04 +0000 (01:41 +0000)
commit7e24d32421ebf855aca743aa9d5506427d7cb1b9
tree13c031df1531fec0546202063dae5d0bf1867d5c
parent429151c9bd9f1327a228d00d24bb14023dbe3499
Changed OCDOResource's handle param to take NULL

Most calls to OCDoResource were ignoring the handle parameter's
out value, so this call formalizes that a NULL is an acceptable value
for this parameter.  The callers that were using this (as highlighted
by Static Code Analaysis) without using the handle parameter were all
switched to use this new NULL functionality.

Change-Id: I9fc047c080499d1283ffc2cba32addd0f5689c77
Signed-off-by: Erich Keane <erich.keane@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/400
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Sachin Agrawal <sachin.agrawal@intel.com>
Reviewed-by: Sashi Penta <sashi.kumar.penta@intel.com>
resource/csdk/stack/include/ocstack.h
resource/csdk/stack/samples/linux/SimpleClientServer/occlient.cpp
resource/csdk/stack/samples/linux/SimpleClientServer/occlientbasicops.cpp
resource/csdk/stack/samples/linux/SimpleClientServer/occlientcoll.cpp
resource/csdk/stack/samples/linux/SimpleClientServer/occlientslow.cpp
resource/csdk/stack/src/ocstack.c
resource/src/InProcClientWrapper.cpp