1
1
Fork 0
mirror of https://github.com/pbatard/rufus.git synced 2024-08-14 23:57:05 +00:00

Update badblocks.c

This commit is contained in:
Gardening_Tool 2021-04-09 20:51:32 -05:00
parent 2e1833e91e
commit 7930e2b01a

View file

@ -184,10 +184,7 @@ static int bb_u64_list_find(bb_u64_list bb, blk64_t blk)
*/
static int bb_u64_list_test(bb_u64_list bb, blk64_t blk)
{
if (bb_u64_list_find(bb, blk) < 0)
return 0;
else
return 1;
return bb_u64_list_find(bb, blk) < 0 ? 0 : 1;
}
static int bb_badblocks_list_test(bb_badblocks_list bb, blk64_t blk)