LibsolvSolver: Automatic whitespace cleanup
This commit is contained in:
parent
92693623e2
commit
2ada08d23a
@ -300,7 +300,7 @@ LibsolvSolver::FindPackages(const char* searchString, uint32 flags,
|
|||||||
queue_push2(&selection, SOLVER_SOLVABLE, iterator.solvid);
|
queue_push2(&selection, SOLVER_SOLVABLE, iterator.solvid);
|
||||||
}
|
}
|
||||||
|
|
||||||
// get solvables
|
// get solvables
|
||||||
SolvQueue solvables;
|
SolvQueue solvables;
|
||||||
selection_solvables(fPool, &selection, &solvables);
|
selection_solvables(fPool, &selection, &solvables);
|
||||||
|
|
||||||
@ -817,12 +817,12 @@ LibsolvSolver::_AddSpecifiedPackages(
|
|||||||
queue_push2(fJobs, SOLVER_SOLVABLE, solvableId);
|
queue_push2(fJobs, SOLVER_SOLVABLE, solvableId);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
case BSolverPackageSpecifier::B_SELECT_STRING:
|
case BSolverPackageSpecifier::B_SELECT_STRING:
|
||||||
{
|
{
|
||||||
// find matching packages
|
// find matching packages
|
||||||
SolvQueue matchingPackages;
|
SolvQueue matchingPackages;
|
||||||
|
|
||||||
int flags = SELECTION_NAME | SELECTION_PROVIDES | SELECTION_GLOB
|
int flags = SELECTION_NAME | SELECTION_PROVIDES | SELECTION_GLOB
|
||||||
| SELECTION_CANON | SELECTION_DOTARCH | SELECTION_REL
|
| SELECTION_CANON | SELECTION_DOTARCH | SELECTION_REL
|
||||||
| additionalFlags;
|
| additionalFlags;
|
||||||
@ -834,7 +834,7 @@ LibsolvSolver::_AddSpecifiedPackages(
|
|||||||
return B_NAME_NOT_FOUND;
|
return B_NAME_NOT_FOUND;
|
||||||
}
|
}
|
||||||
// TODO: We might want to add support for restricting to certain repositories.
|
// TODO: We might want to add support for restricting to certain repositories.
|
||||||
#if 0
|
#if 0
|
||||||
// restrict to the matching repository
|
// restrict to the matching repository
|
||||||
if (BSolverRepository* repository = specifier.Repository()) {
|
if (BSolverRepository* repository = specifier.Repository()) {
|
||||||
RepositoryInfo* repositoryInfo
|
RepositoryInfo* repositoryInfo
|
||||||
|
Loading…
Reference in New Issue
Block a user