Sprinkle a couple of assert(3)ions.
This commit is contained in:
@ -217,6 +217,8 @@ xbps_repository_pool_foreach(
|
||||
int rv = 0;
|
||||
bool done = false;
|
||||
|
||||
assert(fn != NULL);
|
||||
|
||||
if (!repolist_initialized)
|
||||
return EINVAL;
|
||||
|
||||
|
Reference in New Issue
Block a user