Removed unused opportunity to call static create_image() with NULL for bootimg.

Coverity CID 12569.
This commit is contained in:
Thomas Schmitt 2015-10-09 15:53:29 +02:00
parent 8f76b59541
commit e4750907e3

View File

@ -454,9 +454,7 @@ int create_image(IsoImage *image, const char *image_path,
boot->platform_id = 0; /* 80x86 */
memset(boot->id_string, 0, sizeof(boot->id_string));
memset(boot->selection_crit, 0, sizeof(boot->selection_crit));
if (bootimg) {
*bootimg = boot;
}
*bootimg = boot;
return ISO_SUCCESS;
}