1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-24 05:53:49 +01:00

pkg/tinyvcdiff: fix NDEBUG compilation problems

This commit is contained in:
Gunar Schorcht 2025-08-07 16:39:49 +02:00
parent 3f91b15470
commit ebe353f580

View File

@ -99,6 +99,7 @@ static int _write (void *dev, uint8_t *src, size_t offset, size_t len)
vcdiff_mtd_t *mtd = dev;
assert(offset == mtd->offset);
(void)offset; /* avoid compilation problems with NDEBUG */
DEBUG("_write: 0x%" PRIxSIZE " + %" PRIuSIZE "B\n", mtd->offset, len);