bin/xbps-create/main.c: CID 62678 (unchecked return value)
This commit is contained in:
parent
f74f079d9d
commit
1edd4e2ecf
@ -528,7 +528,8 @@ process_archive(struct archive *ar,
|
|||||||
/*
|
/*
|
||||||
* Add the installed-size object.
|
* Add the installed-size object.
|
||||||
*/
|
*/
|
||||||
xbps_dictionary_set_uint64(pkg_propsd, "installed_size", instsize);
|
if (!xbps_dictionary_set_uint64(pkg_propsd, "installed_size", instsize))
|
||||||
|
die("%s: failed to set installed_size obj!");
|
||||||
|
|
||||||
/* Add props.plist metadata file */
|
/* Add props.plist metadata file */
|
||||||
xml = xbps_dictionary_externalize(pkg_propsd);
|
xml = xbps_dictionary_externalize(pkg_propsd);
|
||||||
|
Loading…
Reference in New Issue
Block a user