* libparted/labels/dos.c (write_ext_table): Move declaration of S down
to just before its first use.
Fix alignment of lba_offset declaration.
PedSector sector, const PedPartition* logical)
{
PedPartition* part;
- PedSector lba_offset;
- void* s;
+ PedSector lba_offset;
PED_ASSERT (disk != NULL, return 0);
PED_ASSERT (ped_disk_extended_partition (disk) != NULL, return 0);
lba_offset = ped_disk_extended_partition (disk)->geom.start;
+ void* s;
if (!ptt_read_sector (disk->dev, sector, &s))
return 0;