The value of b is unused in view_set_byte().

This commit is contained in:
Roland Illig 2005-07-03 14:01:25 +00:00
parent ba85d5b50b
commit aac7b35bfc
1 changed files with 1 additions and 0 deletions

View File

@ -571,6 +571,7 @@ get_byte_indexed (WView *view, offset_type base, offset_type ofs)
static void
view_set_byte (WView *view, offset_type offset, byte b)
{
(void) &b;
assert (offset < view_get_filesize (view));
assert (view->datasource == DS_FILE);
view->ds_file_datalen = 0; /* just force reloading */