ext2fs: Remove unused assignment.
Value is re-assigned a few lines later without being read. Found by: Clang static analyzer MFC after: 1 week
This commit is contained in:
parent
e9200a6cc2
commit
b624457280
@ -766,7 +766,6 @@ ext2_htree_add_entry(struct vnode *dvp, struct ext2fs_direct_2 *entry,
|
||||
root_entires = info.h_levels[0].h_entries;
|
||||
newidxblock = malloc(blksize, M_TEMP, M_WAITOK | M_ZERO);
|
||||
dst_node = (struct ext2fs_htree_node *)newidxblock;
|
||||
dst_entries = dst_node->h_entries;
|
||||
memset(&dst_node->h_fake_dirent, 0,
|
||||
sizeof(dst_node->h_fake_dirent));
|
||||
dst_node->h_fake_dirent.e2d_reclen = blksize;
|
||||
|
Loading…
Reference in New Issue
Block a user