distromatic.c: remove unused variable
This commit is contained in:
parent
024e792c35
commit
18125eed10
@ -363,7 +363,6 @@ handleObsoletedPackages(struct configTag *ct, int archidx)
|
|||||||
static int
|
static int
|
||||||
resolveFirstLevelDependencies(struct configTag *ct, int archidx)
|
resolveFirstLevelDependencies(struct configTag *ct, int archidx)
|
||||||
{
|
{
|
||||||
struct requireList *currrequire;
|
|
||||||
struct headerList *currheader, *scanheader, **newprovider;
|
struct headerList *currheader, *scanheader, **newprovider;
|
||||||
struct providedList *provided;
|
struct providedList *provided;
|
||||||
struct fileTree *file;
|
struct fileTree *file;
|
||||||
@ -376,7 +375,6 @@ resolveFirstLevelDependencies(struct configTag *ct, int archidx)
|
|||||||
|
|
||||||
while (currheader) {
|
while (currheader) {
|
||||||
scanheader = ct->headerlist[archidx];
|
scanheader = ct->headerlist[archidx];
|
||||||
currrequire = NULL;
|
|
||||||
currheader->requirelist = NULL;
|
currheader->requirelist = NULL;
|
||||||
if ((!currheader->obsoleted) && (currheader->next) && (!strcmp(currheader->name,currheader->next->name))) {
|
if ((!currheader->obsoleted) && (currheader->next) && (!strcmp(currheader->name,currheader->next->name))) {
|
||||||
// mark obsoleted any package with same name in upper level repositories
|
// mark obsoleted any package with same name in upper level repositories
|
||||||
@ -582,7 +580,6 @@ resolveFirstLevelSourceDependencies(struct configTag *ct, int archidx)
|
|||||||
{
|
{
|
||||||
struct headerSourceList *currsourceheader = ct->headersourcelist;
|
struct headerSourceList *currsourceheader = ct->headersourcelist;
|
||||||
struct headerList *scanheader;
|
struct headerList *scanheader;
|
||||||
struct requireList *currrequire;
|
|
||||||
struct providedList *provided;
|
struct providedList *provided;
|
||||||
struct fileTree *file;
|
struct fileTree *file;
|
||||||
char warning[PATH_MAX];
|
char warning[PATH_MAX];
|
||||||
@ -592,7 +589,6 @@ resolveFirstLevelSourceDependencies(struct configTag *ct, int archidx)
|
|||||||
logmsg(LOG_DEBUG,"resolveFirstLevelSourceDependencies - sources");
|
logmsg(LOG_DEBUG,"resolveFirstLevelSourceDependencies - sources");
|
||||||
while (currsourceheader) {
|
while (currsourceheader) {
|
||||||
scanheader = ct->headerlist[archidx];
|
scanheader = ct->headerlist[archidx];
|
||||||
currrequire = NULL;
|
|
||||||
currsourceheader->requirelist = NULL;
|
currsourceheader->requirelist = NULL;
|
||||||
// currsourceheader->require.resolved = malloc(sizeof(struct providedList*)*currsourceheader->requirecount);
|
// currsourceheader->require.resolved = malloc(sizeof(struct providedList*)*currsourceheader->requirecount);
|
||||||
for (i = 0; i < currsourceheader->requirecount; i++) {
|
for (i = 0; i < currsourceheader->requirecount; i++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user