mirror of
https://github.com/mhx/dwarfs.git
synced 2025-08-04 10:16:34 -04:00
fix: gcc false positive warning about cache always being null
This commit is contained in:
parent
dacc932ba3
commit
17c72ea47b
@ -243,7 +243,7 @@ find_file_position(cache_type::inode_type const inode,
|
|||||||
upd.add_offset(++chunk_index, chunk_offset);
|
upd.add_offset(++chunk_index, chunk_offset);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ent) {
|
if (cache) {
|
||||||
ent->update(upd, chunk_index, chunk_offset, *it);
|
ent->update(upd, chunk_index, chunk_offset, *it);
|
||||||
cache->set(inode, ent);
|
cache->set(inode, ent);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user