fs/mmap: Fix build warning with [-Wmaybe-uninitialized].
Signed-off-by: cuiziwei <cuiziwei@xiaomi.com>
This commit is contained in:
parent
6071102c90
commit
17a06ce2cd
1 changed files with 1 additions and 1 deletions
|
|
@ -52,7 +52,7 @@ static int unmap_rammap(FAR struct task_group_s *group,
|
|||
FAR void *start,
|
||||
size_t length)
|
||||
{
|
||||
FAR void *newaddr;
|
||||
FAR void *newaddr = NULL;
|
||||
off_t offset;
|
||||
bool kernel = entry->priv.i;
|
||||
int ret = OK;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue