* 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>
|
||||
|
||||
* grub-core/fs/reiserfs.c (grub_reiserfs_iterate_dir): Fix type of
|
||||
|
|
|
@ -380,12 +380,8 @@ test_header (grub_file_t file)
|
|||
sizeof (checksum))
|
||||
goto CORRUPTED;
|
||||
|
||||
if (hcheck)
|
||||
{
|
||||
checksum = checksum;
|
||||
if (grub_memcmp (&checksum, hcheck->read(context), sizeof(checksum)) != 0)
|
||||
goto CORRUPTED;
|
||||
}
|
||||
if (hcheck && grub_memcmp (&checksum, hcheck->read(context), sizeof(checksum)) != 0)
|
||||
goto CORRUPTED;
|
||||
|
||||
lzopio->start_block_off = grub_file_tell (lzopio->file);
|
||||
|
||||
|
|
Loading…
Reference in a new issue