mirror of
https://github.com/schoebel/mars
synced 2025-02-17 12:37:20 +00:00
mem: silence annoying compiler warning
The compiler will optimize this away upon certain combinations of Kconfig settings.
This commit is contained in:
parent
5a6cfa7798
commit
09412a052e
@ -836,6 +836,7 @@ void _brick_block_free(void *data, int len, int cline)
|
||||
}
|
||||
#endif
|
||||
#ifdef BRICK_DEBUG_MEM
|
||||
(void)prev_line; /* silence annoying compiler warning */
|
||||
if (order > 1) {
|
||||
void *test = data - PAGE_SIZE;
|
||||
int magic = INT_ACCESS(test, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user