Sprinkle a couple of assert(3)ions.

This commit is contained in:
Juan RP
2011-01-25 04:14:33 +01:00
parent fd30feadcb
commit 008573e1eb
12 changed files with 46 additions and 0 deletions

View File

@ -95,6 +95,7 @@ xbps_repository_sync_pkg_index(const char *uri,
int rv = 0;
bool only_sync = false;
assert(uri != NULL);
tmp_metafile = rpidx = lrepodir = lrepofile = NULL;
if (uname(&un) == -1)