mirror of
https://github.com/apache/nuttx.git
synced 2026-05-23 06:39:01 +08:00
fs/mmap/fs_munmap.c: Fix 'warning: variable 'newaddr' set but not used'
This commit is contained in:
@@ -198,6 +198,7 @@ int munmap(FAR void *start, size_t length)
|
||||
{
|
||||
newaddr = kumm_realloc(curr->addr, sizeof(struct fs_rammap_s) + length);
|
||||
DEBUGASSERT(newaddr == (FAR void *)(curr->addr));
|
||||
UNUSED(newaddr); /* May not be used */
|
||||
curr->length = length;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user