mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
drivers/mtd_mapper: fix NDEBUG compile problem
This commit is contained in:
parent
0378fd2697
commit
bd658b02ae
@ -73,6 +73,9 @@ static int _init(mtd_dev_t *mtd)
|
||||
backing_mtd->pages_per_sector * backing_mtd->sector_count *
|
||||
backing_mtd->page_size);
|
||||
|
||||
/* avoid unused variable warning if compiled with NDEBUG */
|
||||
(void)backing_mtd;
|
||||
|
||||
_lock(region);
|
||||
int res = _init_target(region);
|
||||
_unlock(region);
|
||||
|
Loading…
Reference in New Issue
Block a user