lib: os: Fix warning on XCC
xcc compiler complains about how fdtable variable is initialized: """ warning: missing braces around initialize """ Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
This commit is contained in:
parent
7f894f781b
commit
dfa71ca332
1 changed files with 2 additions and 0 deletions
|
@ -53,7 +53,9 @@ static struct fd_entry fdtable[CONFIG_POSIX_MAX_FDS] = {
|
|||
.refcount = ATOMIC_INIT(1)
|
||||
},
|
||||
#else
|
||||
{
|
||||
0
|
||||
},
|
||||
#endif
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue