Add assertions where appropiate.
--HG-- extra : convert_revision : 3c7a6f556b1dfdf110f8759375a171a571717b22
This commit is contained in:
@@ -271,6 +271,8 @@ xbps_unpack_binary_pkg(prop_dictionary_t repo, prop_dictionary_t pkg,
|
||||
int rv;
|
||||
|
||||
assert(pkg != NULL);
|
||||
assert(repo != NULL);
|
||||
assert(cb != NULL);
|
||||
|
||||
/* Append filename to the full path for binary pkg */
|
||||
filename = prop_dictionary_get(pkg, "filename");
|
||||
|
||||
Reference in New Issue
Block a user