mirror of
https://github.com/apache/nuttx.git
synced 2026-05-21 04:52:02 +08:00
fs/mmap: Fix build warning with [-Wmaybe-uninitialized].
Signed-off-by: cuiziwei <cuiziwei@xiaomi.com>
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user