csdk: Fixes issue reported by cppcheck tool
authorRavi Nanjundappa <nravi.n@samsung.com>
Wed, 1 Jul 2015 13:36:20 +0000 (19:06 +0530)
committerErich Keane <erich.keane@intel.com>
Fri, 3 Jul 2015 15:22:06 +0000 (15:22 +0000)
commit89ee981e3dfa17ff15cb9182b280f4e0c9f5b769
tree2375396992981bb719a75910fb5d690bd38359db
parent4e257193695fafaf885e15d17c17db5c3a1802ad
csdk: Fixes issue reported by cppcheck tool

This patch fixes the the below issue reported by cppcheck tool:
"(error) Possible null pointer dereference: ReqInfo - otherwise it is
redundant to check if ReqInfo is null at line 234".

Null value check of ReqInfo is removed as it in unnecessary here, as this check is
already done and OIC_LOG_BUFFER is just printing the content of ReqInfo->info.token.

Change-Id: I8c15d8b582135c445fe89350dc67812e531c52d3
Signed-off-by: Ravi Nanjundappa <nravi.n@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/1507
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Erich Keane <erich.keane@intel.com>
resource/csdk/connectivity/src/camessagehandler_singlethread.c