diff --git a/src/viewer/datasource.c b/src/viewer/datasource.c index b59e1bd4bd..d3b07758d8 100644 --- a/src/viewer/datasource.c +++ b/src/viewer/datasource.c @@ -270,6 +270,7 @@ void mcview_set_byte (WView *view, off_t offset, byte b) { (void) &b; + (void) offset; g_assert (offset < mcview_get_filesize (view)); g_assert (view->datasource == DS_FILE);