Fix compile warnings in SimpleClientServer for Linux
authorRavi Nanjundappa <nravi.n@samsung.com>
Tue, 30 Jun 2015 04:13:32 +0000 (09:43 +0530)
committerErich Keane <erich.keane@intel.com>
Tue, 30 Jun 2015 16:48:44 +0000 (16:48 +0000)
commit3fe0dbdd8d7a366bd28db8251773db3beef2ebfa
treef51f8fa3e9d055f32345f8cc89f86fb181395761
parente8b7711ddd8c95b55481ee4da1a2a8a4960d406b
Fix compile warnings in SimpleClientServer for Linux

SimpleClientServer application for Linux was trying to check the address of array
'clientResponse->rcvdVendorSpecificHeaderOptions' which will always evaluate to 'true'.
Corrected by removing such checks in the code.

Change-Id: Id7306af0792646887740ab3c7952d5fffe8c760b
Signed-off-by: Ravi Nanjundappa <nravi.n@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/1454
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Erich Keane <erich.keane@intel.com>
resource/csdk/stack/samples/linux/SimpleClientServer/occlient.cpp
resource/csdk/stack/samples/linux/SimpleClientServer/occlientbasicops.cpp