Reacted on warnings of -Wunused-but-set-variable
This commit is contained in:
parent
dd1629b5ca
commit
43d4833dd6
|
@ -683,7 +683,8 @@ static int make_sun_disk_label(Ecma119Image *t, uint8_t *buf, int flag)
|
||||||
ret = write_sun_partition_entry(1, t->appended_partitions,
|
ret = write_sun_partition_entry(1, t->appended_partitions,
|
||||||
t->appended_part_start, t->appended_part_size,
|
t->appended_part_start, t->appended_part_size,
|
||||||
ISO_SUN_CYL_SIZE, buf, 0);
|
ISO_SUN_CYL_SIZE, buf, 0);
|
||||||
|
if (ret < 0)
|
||||||
|
return ret;
|
||||||
return ISO_SUCCESS;
|
return ISO_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue