It was successfully tested with gcc-4.6.4
on Tizen:2.3.1:Wearable.
Change-Id: Ib97c4bfe73d1d40ee8a029a016b7d69e2b3e3d99
Origin: https://gerrit.iotivity.org/gerrit/#/c/12059/
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/12059
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Ashwini Kumar <k.ashwini@samsung.com>
Reviewed-by: Randeep Singh <randeep.s@samsung.com>
OicSecRsrc_t *res = &ace->resources[l];
OICFree(res->href);
- stringArray_t rt = {.array = res->types, .length = res->typeLen};
+ stringArray_t rt { res->types, res->typeLen};
clearStringArray(&rt);
- stringArray_t _if = {.array = res->interfaces, .length = res->interfaceLen};
+ stringArray_t _if {res->interfaces, res->interfaceLen};
clearStringArray(&_if);
}
}