mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
Update checkstyle workflow env to ubuntu-20.04
- `checkstyle` workflow uses ubuntu-20.04 environment - improved `mancheck.sh` readability Reviewed-by: Matthew Ahrens <mahrens@delphix.com> Reviewed-by: John Kennedy <john.kennedy@delphix.com> Signed-off-by: szubersk <szuberskidamian@gmail.com> Closes #12713
This commit is contained in:
committed by
Tony Hutter
parent
cc40a67cf8
commit
8464de1315
@@ -865,7 +865,9 @@ do_decomp(size_t uv, uchar_t *u8s, uchar_t *s, int sz,
|
||||
start_id = u8_decomp_b4_16bit_tbl[uv][b3_tbl][b4];
|
||||
end_id = u8_decomp_b4_16bit_tbl[uv][b3_tbl][b4 + 1];
|
||||
} else {
|
||||
// cppcheck-suppress arrayIndexOutOfBoundsCond
|
||||
start_id = u8_decomp_b4_tbl[uv][b3_tbl][b4];
|
||||
// cppcheck-suppress arrayIndexOutOfBoundsCond
|
||||
end_id = u8_decomp_b4_tbl[uv][b3_tbl][b4 + 1];
|
||||
}
|
||||
|
||||
@@ -1012,7 +1014,9 @@ find_composition_start(size_t uv, uchar_t *s, size_t sz)
|
||||
start_id = u8_composition_b4_16bit_tbl[uv][b3_tbl][b4];
|
||||
end_id = u8_composition_b4_16bit_tbl[uv][b3_tbl][b4 + 1];
|
||||
} else {
|
||||
// cppcheck-suppress arrayIndexOutOfBoundsCond
|
||||
start_id = u8_composition_b4_tbl[uv][b3_tbl][b4];
|
||||
// cppcheck-suppress arrayIndexOutOfBoundsCond
|
||||
end_id = u8_composition_b4_tbl[uv][b3_tbl][b4 + 1];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user