1
0
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:
Gunar Schorcht 2020-03-12 13:31:27 +01:00
parent 0378fd2697
commit bd658b02ae

View File

@ -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);