* grub-core/io/lzopio.c (test_header): Simplify code and remove useless
"checksum = checksum;".
This commit is contained in:
parent
70bb6c855e
commit
3ee0869734
2 changed files with 7 additions and 6 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2013-11-07 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* grub-core/io/lzopio.c (test_header): Simplify code and remove useless
|
||||||
|
"checksum = checksum;".
|
||||||
|
|
||||||
2013-11-07 Vladimir Serbinenko <phcoder@gmail.com>
|
2013-11-07 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* grub-core/fs/reiserfs.c (grub_reiserfs_iterate_dir): Fix type of
|
* grub-core/fs/reiserfs.c (grub_reiserfs_iterate_dir): Fix type of
|
||||||
|
|
|
@ -380,12 +380,8 @@ test_header (grub_file_t file)
|
||||||
sizeof (checksum))
|
sizeof (checksum))
|
||||||
goto CORRUPTED;
|
goto CORRUPTED;
|
||||||
|
|
||||||
if (hcheck)
|
if (hcheck && grub_memcmp (&checksum, hcheck->read(context), sizeof(checksum)) != 0)
|
||||||
{
|
goto CORRUPTED;
|
||||||
checksum = checksum;
|
|
||||||
if (grub_memcmp (&checksum, hcheck->read(context), sizeof(checksum)) != 0)
|
|
||||||
goto CORRUPTED;
|
|
||||||
}
|
|
||||||
|
|
||||||
lzopio->start_block_off = grub_file_tell (lzopio->file);
|
lzopio->start_block_off = grub_file_tell (lzopio->file);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue