bin/xbps-create/main.c: CID 62678 (unchecked return value)

This commit is contained in:
Juan RP 2014-10-05 12:33:45 +02:00
parent f74f079d9d
commit 1edd4e2ecf

View File

@ -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);