fs/mmap/fs_munmap.c: Fix 'warning: variable 'newaddr' set but not used'
This commit is contained in:
parent
01cda09aba
commit
b7b85251cf
|
@ -198,6 +198,7 @@ int munmap(FAR void *start, size_t length)
|
||||||
{
|
{
|
||||||
newaddr = kumm_realloc(curr->addr, sizeof(struct fs_rammap_s) + length);
|
newaddr = kumm_realloc(curr->addr, sizeof(struct fs_rammap_s) + length);
|
||||||
DEBUGASSERT(newaddr == (FAR void *)(curr->addr));
|
DEBUGASSERT(newaddr == (FAR void *)(curr->addr));
|
||||||
|
UNUSED(newaddr); /* May not be used */
|
||||||
curr->length = length;
|
curr->length = length;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue