Reacted on a compiler warning about an unused variable.

This commit is contained in:
Thomas Schmitt 2014-04-28 21:06:10 +02:00
parent 0bce145343
commit 2f517301de
1 changed files with 1 additions and 2 deletions

View File

@ -5429,7 +5429,7 @@ int iso_analyze_system_area(IsoImage *image, IsoDataSource *src,
struct iso_read_opts *opts, uint32_t image_size, struct iso_read_opts *opts, uint32_t image_size,
int flag) int flag)
{ {
int ret, i, sao, sa_type, sa_sub, is_mbr = 0; int ret, i, sao, sa_type, sa_sub;
iso_imported_sa_unref(&(image->imported_sa_info), 0); iso_imported_sa_unref(&(image->imported_sa_info), 0);
ret = iso_imported_sa_new(&(image->imported_sa_info), 0); ret = iso_imported_sa_new(&(image->imported_sa_info), 0);
@ -5448,7 +5448,6 @@ int iso_analyze_system_area(IsoImage *image, IsoDataSource *src,
ret = iso_analyze_mbr(image, src, 0); ret = iso_analyze_mbr(image, src, 0);
if (ret < 0) if (ret < 0)
goto ex; goto ex;
is_mbr = (ret > 0);
ret = iso_analyze_gpt(image, src, 0); ret = iso_analyze_gpt(image, src, 0);
if (ret < 0) if (ret < 0)
goto ex; goto ex;