Commit 50cdcf69 authored by Oleksandr Dmytrenko's avatar Oleksandr Dmytrenko

fix for gcc version 4 and 5

fix for gcc version 4 and 5

Change-Id: I0d7d020b191c8238e256821a47db0a073649c460
Signed-off-by: default avatarOleksandr Dmytrenko <o.dmytrenko@samsung.com>
parent 5ed49b7f
......@@ -968,7 +968,8 @@ OCStackResult SetDOS(const Data_t *data, OicSecDeviceOnboardingState_t dos,
// Skip posting new DOS state in case of OIC server
if (IS_OIC(pTargetDev->specVer))
{
OCClientResponse clientResponse = {.result = OC_STACK_RESOURCE_CHANGED};
OCClientResponse clientResponse;
clientResponse.result = OC_STACK_RESOURCE_CHANGED;
resultCallback((void*) data, NULL, &clientResponse);
return OC_STACK_OK;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment