Reacted on a warning of NetBSD compiler

This commit is contained in:
Thomas Schmitt 2015-05-17 20:41:46 +00:00
parent 67e7124385
commit 4a5b56cb0b

View File

@ -1575,7 +1575,7 @@ static int Xorriso_scan_report_lines(struct XorrisO *xorriso,
int have_sysarea= 0, ptable_killer, imported_iso, have_alpha_ldr_path= 0; int have_sysarea= 0, ptable_killer, imported_iso, have_alpha_ldr_path= 0;
unsigned long int sa_options= 0, partno, id_tag, perms, start_cyl, num_blocks; unsigned long int sa_options= 0, partno, id_tag, perms, start_cyl, num_blocks;
unsigned long int part_status, part_type, start_block; unsigned long int part_status, part_type, start_block;
char name[24], *textpt, *contentpt, *buf= NULL, *sa_summary= ""; char name[24], *textpt, *contentpt, *buf= NULL;
char **lines= NULL; char **lines= NULL;
double num[8]; double num[8];
char *cat_path= ""; char *cat_path= "";
@ -1639,7 +1639,6 @@ static int Xorriso_scan_report_lines(struct XorrisO *xorriso,
sscanf(contentpt, "%lx", &sa_options); sscanf(contentpt, "%lx", &sa_options);
} else if(strcmp(name, "System area summary:") == 0) { } else if(strcmp(name, "System area summary:") == 0) {
sa_summary= contentpt;
have_sysarea= 1; have_sysarea= 1;
} else if(strcmp(name, "El Torito boot img :") == 0) { } else if(strcmp(name, "El Torito boot img :") == 0) {