From 4a5b56cb0bd233402e9998be77c71c6e6dc6062f Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Sun, 17 May 2015 20:41:46 +0000 Subject: [PATCH] Reacted on a warning of NetBSD compiler --- xorriso/iso_img.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/xorriso/iso_img.c b/xorriso/iso_img.c index 88b5ab51..aa52c33a 100644 --- a/xorriso/iso_img.c +++ b/xorriso/iso_img.c @@ -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; unsigned long int sa_options= 0, partno, id_tag, perms, start_cyl, num_blocks; 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; double num[8]; char *cat_path= ""; @@ -1639,7 +1639,6 @@ static int Xorriso_scan_report_lines(struct XorrisO *xorriso, sscanf(contentpt, "%lx", &sa_options); } else if(strcmp(name, "System area summary:") == 0) { - sa_summary= contentpt; have_sysarea= 1; } else if(strcmp(name, "El Torito boot img :") == 0) {