Remove a set but unused variable in HDT, which prevents building with
gcc 4.6. This is probably a bug; presumably the active flag should be
presented to the user, too.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
char ostype[64]={0};
char *parttype;
unsigned int start, end;
- bool bootable = false;
int i = nb_partitions_seen;
start = partition_offset;
get_label(ptab->ostype, &parttype);
get_bootloader_string(drive_info, ptab, bootloader_name, 9);
- if (ptab->active_flag == 0x80)
- bootable=true;
snprintf(ostype,sizeof(ostype),"%02X",ptab->ostype);