Remove do_pathtab variable

This commit is contained in:
King_DuckZ 2020-03-03 15:35:25 +01:00
parent bd10160088
commit 141f647497

View file

@ -140,7 +140,6 @@ LOCAL char *const *find_av = NULL; /* av past -find option */
LOCAL int find_pac = 0; /* ac for first find primary */ LOCAL int find_pac = 0; /* ac for first find primary */
LOCAL char *const *find_pav = NULL; /* av for first find primary */ LOCAL char *const *find_pav = NULL; /* av for first find primary */
LOCAL int do_sectors = 0; LOCAL int do_sectors = 0;
LOCAL int do_pathtab = 0;
LOCAL BOOL debug = FALSE; LOCAL BOOL debug = FALSE;
LOCAL char *xtract = 0; LOCAL char *xtract = 0;
LOCAL BOOL Xtract = FALSE; LOCAL BOOL Xtract = FALSE;
@ -1692,16 +1691,6 @@ setcharset:
if (use_joliet) if (use_joliet)
idr = (struct iso_directory_record *)jpd.root_directory_record; idr = (struct iso_directory_record *)jpd.root_directory_record;
if (do_pathtab) {
if (use_joliet) {
dump_pathtab(isonum_731(jpd.type_l_path_table),
isonum_733((unsigned char *)jpd.path_table_size));
} else {
dump_pathtab(isonum_731(ipd.type_l_path_table),
isonum_733((unsigned char *)ipd.path_table_size));
}
}
parse_dir(todo_idr, "/", isonum_733((unsigned char *)idr->extent), parse_dir(todo_idr, "/", isonum_733((unsigned char *)idr->extent),
isonum_733((unsigned char *)idr->size)); isonum_733((unsigned char *)idr->size));
td = todo_idr; td = todo_idr;