Commit 18125eed10c16b7f8cfc8f242c8fd2f68ea2078f

Authored by Silvan Calarco
1 parent 024e792c35
Exists in master

distromatic.c: remove unused variable

Showing 1 changed file with 0 additions and 4 deletions Side-by-side Diff

... ... @@ -363,7 +363,6 @@
363 363 static int
364 364 resolveFirstLevelDependencies(struct configTag *ct, int archidx)
365 365 {
366   - struct requireList *currrequire;
367 366 struct headerList *currheader, *scanheader, **newprovider;
368 367 struct providedList *provided;
369 368 struct fileTree *file;
... ... @@ -376,7 +375,6 @@
376 375  
377 376 while (currheader) {
378 377 scanheader = ct->headerlist[archidx];
379   - currrequire = NULL;
380 378 currheader->requirelist = NULL;
381 379 if ((!currheader->obsoleted) && (currheader->next) && (!strcmp(currheader->name,currheader->next->name))) {
382 380 // mark obsoleted any package with same name in upper level repositories
... ... @@ -582,7 +580,6 @@
582 580 {
583 581 struct headerSourceList *currsourceheader = ct->headersourcelist;
584 582 struct headerList *scanheader;
585   - struct requireList *currrequire;
586 583 struct providedList *provided;
587 584 struct fileTree *file;
588 585 char warning[PATH_MAX];
... ... @@ -592,7 +589,6 @@
592 589 logmsg(LOG_DEBUG,"resolveFirstLevelSourceDependencies - sources");
593 590 while (currsourceheader) {
594 591 scanheader = ct->headerlist[archidx];
595   - currrequire = NULL;
596 592 currsourceheader->requirelist = NULL;
597 593 // currsourceheader->require.resolved = malloc(sizeof(struct providedList*)*currsourceheader->requirecount);
598 594 for (i = 0; i < currsourceheader->requirecount; i++) {