mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-20 18:29:19 +03:00
The value of b is unused in view_set_byte().
This commit is contained in:
parent
ba85d5b50b
commit
aac7b35bfc
@ -571,6 +571,7 @@ get_byte_indexed (WView *view, offset_type base, offset_type ofs)
|
|||||||
static void
|
static void
|
||||||
view_set_byte (WView *view, offset_type offset, byte b)
|
view_set_byte (WView *view, offset_type offset, byte b)
|
||||||
{
|
{
|
||||||
|
(void) &b;
|
||||||
assert (offset < view_get_filesize (view));
|
assert (offset < view_get_filesize (view));
|
||||||
assert (view->datasource == DS_FILE);
|
assert (view->datasource == DS_FILE);
|
||||||
view->ds_file_datalen = 0; /* just force reloading */
|
view->ds_file_datalen = 0; /* just force reloading */
|
||||||
|
Loading…
Reference in New Issue
Block a user