UNINIT.LOCAL_VAR.EX
UNREACHABLE_CODE
Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com>
Change-Id: Ib354678063945081170e66eba20e58297ace2a5d
- iotcon_attributes_h attributes;
- iotcon_representation_h responseRep;
+ iotcon_attributes_h attributes = NULL;
+ iotcon_representation_h responseRep = NULL;
iotcon_representation_create(&responseRep);
iotcon_representation_create(&responseRep);
- iotcon_attributes_h responseAttributes;
+ iotcon_attributes_h responseAttributes = NULL;
iotcon_attributes_create(&responseAttributes);
if (reqRep != NULL) {
iotcon_attributes_create(&responseAttributes);
if (reqRep != NULL) {
if (appctl_request_char) {
payload.set(NULL, CONV_JSON_APP_CONTROL_REQUEST, appctl_request_char);
}
if (appctl_request_char) {
payload.set(NULL, CONV_JSON_APP_CONTROL_REQUEST, appctl_request_char);
}
- if (appcontrol_result == IOTCON_ERROR_NONE) {
- payload.set(NULL, CONV_JSON_APP_CONTROL_RESULT, resultStr.c_str());
- }
- payload.set(NULL, CONV_JSON_APP_CONTROL_RESULT, resultStr.c_str());
result.set(NULL, CONV_JSON_DESCRIPTION, cb_info.requestObj->getDescription());
result.set(NULL, CONV_JSON_PAYLOAD, payload);
result.set(NULL, CONV_JSON_DESCRIPTION, cb_info.requestObj->getDescription());
result.set(NULL, CONV_JSON_PAYLOAD, payload);