IOT-2539 remove parentheses and empty-body warning 15/22615/2
authorGeorge Nash <george.nash@intel.com>
Thu, 21 Sep 2017 21:23:18 +0000 (14:23 -0700)
committerRick Bell <richard.s.bell@intel.com>
Thu, 5 Oct 2017 18:41:55 +0000 (18:41 +0000)
commitaf8efa39d7ffa92d4539b520891f33e846f7abc0
tree638426ae6d0cd8e34c47739e5de5cfa586fb1f83
parentab3b461fae4af15d50abb5a068809e6f4d93d469
IOT-2539 remove parentheses and empty-body warning

In this case the if statment was not even needed
and was removed.

Removing the if statment cleaned both the parentheses
and empty-body warning.

Change-Id: Ia06fd44f070a66984a71db85d256dc76e61a9bc8
Signed-off-by: George Nash <george.nash@intel.com>
(cherry picked from commit 7e59508a8a3f90fdfe3a1c4762e9005519f9a4e9)
resource/csdk/stack/src/ocpayload.c