Commit 61667f7d authored by Philippe Coval's avatar Philippe Coval Committed by Greg Zaverucha

security: Add unused member to empty struct

For clang support just like MSVC

Change-Id: I2afbaae260318874634dd42d2650a87c0731e099
Signed-off-by: default avatarPhilippe Coval <>
Reviewed-on: default avatarjenkins-iotivity <>
Reviewed-by: default avatarDan Mihai <>
Reviewed-by: default avatarGreg Zaverucha <>
parent dba44fd8
......@@ -610,8 +610,8 @@ struct OicSecSacl
// <Attribute ID>:<Read/Write>:<Multiple/Single>:<Mandatory?>:<Type>
//TODO fill in from OIC Security Spec
#if defined(_MSC_VER)
uint8_t unused; // VS doesn't like empty structs
#if defined(_MSC_VER) || defined(__clang__)
uint8_t unused; // some compilers refuse empty structs
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