arch/sim/src/sim/up_hostfs.c: Fix warning: 'mapflags' may be used uninitialized in this function.
This commit is contained in:
parent
5a3d9c7570
commit
48de68c474
@ -115,7 +115,7 @@ static void host_stat_convert(struct stat *hostbuf, struct nuttx_stat_s *buf)
|
||||
|
||||
int host_open(const char *pathname, int flags, int mode)
|
||||
{
|
||||
int mapflags;
|
||||
int mapflags = 0;
|
||||
|
||||
/* Perform flag mapping */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user