manifest: Removing unecessary check

alloc_manifest() aborts when manifest allocation fails, so the result
will never be NULL
This commit is contained in:
Otavio Pontes
2018-06-14 15:01:23 -07:00
committed by Matthew Johnson
parent 6c03e883f3
commit c0229ef92d
-4
View File
@@ -211,10 +211,6 @@ static struct manifest *manifest_from_file(int version, char *component, bool he
}
manifest = alloc_manifest(version, component);
if (manifest == NULL) {
goto err_close;
}
manifest->filecount = filecount;
manifest->contentsize = contentsize;
manifest->manifest_version = manifest_enc_version;