[IOT-2741] Static analysis warning fixes set-2. 85/22385/8
authorarya.k <arya.kumar@samsung.com>
Mon, 18 Sep 2017 04:37:35 +0000 (10:07 +0530)
committerAshok Babu Channa <ashok.channa@samsung.com>
Fri, 6 Oct 2017 11:22:22 +0000 (11:22 +0000)
commit741f1cd4c7c67d2119204d2a92e0e7f23773f6b1
tree7836f2f5801f9cbcc44a9d28161eba2be0f90316
parentf1b55ab774cb744fe9f8f1cd438774d26dc124ca
[IOT-2741] Static analysis warning fixes set-2.

1. Assign default values
2. Remove constants from decision making statements.
3. Add return by values.
4. Remove duplicate lines.
5. Indentations.

Change-Id: I8b3ba896bf72600bc9ee4fcbdc844506bdabf38f
Signed-off-by: arya.k <arya.kumar@samsung.com>
resource/csdk/connectivity/inc/caprotocolmessage.h
resource/csdk/connectivity/src/camessagehandler.c
resource/csdk/connectivity/src/caprotocolmessage.c
resource/csdk/stack/src/ocobserve.c
resource/csdk/stack/src/ocpayloadconvert.c
resource/csdk/stack/src/ocpayloadparse.c
resource/src/InProcClientWrapper.cpp