Add assertions where appropiate.

--HG--
extra : convert_revision : 3c7a6f556b1dfdf110f8759375a171a571717b22
This commit is contained in:
Juan RP
2008-12-27 01:40:13 +01:00
parent 613c9f25dd
commit 4f3c798f7a
3 changed files with 24 additions and 6 deletions

View File

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