Removed unused opportunity to call static create_image() with NULL for bootimg.
Coverity CID 12569.
This commit is contained in:
parent
8f76b59541
commit
e4750907e3
@ -454,9 +454,7 @@ int create_image(IsoImage *image, const char *image_path,
|
|||||||
boot->platform_id = 0; /* 80x86 */
|
boot->platform_id = 0; /* 80x86 */
|
||||||
memset(boot->id_string, 0, sizeof(boot->id_string));
|
memset(boot->id_string, 0, sizeof(boot->id_string));
|
||||||
memset(boot->selection_crit, 0, sizeof(boot->selection_crit));
|
memset(boot->selection_crit, 0, sizeof(boot->selection_crit));
|
||||||
if (bootimg) {
|
*bootimg = boot;
|
||||||
*bootimg = boot;
|
|
||||||
}
|
|
||||||
|
|
||||||
return ISO_SUCCESS;
|
return ISO_SUCCESS;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user