Implement VERIFY_NON_NULL() in terms VERIFY_NON_NULL_RET().
authorOssama Othman <ossama.othman@intel.com>
Tue, 21 Jul 2015 04:03:11 +0000 (21:03 -0700)
committerErich Keane <erich.keane@intel.com>
Tue, 21 Jul 2015 21:49:27 +0000 (21:49 +0000)
commita0aa5aefd017b4e44481d5014e51f8d5ed7f43cf
tree82d1cb7018f3dd8c1287d37275a839f8dc56ad0c
parentadbaa609ba807ee4e4ad9a94f94fd4bf05850b03
Implement VERIFY_NON_NULL() in terms VERIFY_NON_NULL_RET().

Minimize code duplication in the VERIFY_NON_NULL() macro by
implementing it terms of the VERIFY_NON_NULL_RET() macro.

Removed duplicate definitions of these macros as well.

Change-Id: I692b68744a0a1606ca64c7a676d910d32ffbbaf5
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/1772
Reviewed-by: Jon A. Cruz <jonc@osg.samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Erich Keane <erich.keane@intel.com>
resource/csdk/connectivity/inc/caadapterutils.h
resource/csdk/connectivity/inc/camessagehandler.h