distromatic.c: remove unused variable

This commit is contained in:
Silvan Calarco 2013-01-03 13:45:47 +01:00
parent 024e792c35
commit 18125eed10

View File

@ -363,7 +363,6 @@ handleObsoletedPackages(struct configTag *ct, int archidx)
static int
resolveFirstLevelDependencies(struct configTag *ct, int archidx)
{
struct requireList *currrequire;
struct headerList *currheader, *scanheader, **newprovider;
struct providedList *provided;
struct fileTree *file;
@ -376,7 +375,6 @@ resolveFirstLevelDependencies(struct configTag *ct, int archidx)
while (currheader) {
scanheader = ct->headerlist[archidx];
currrequire = NULL;
currheader->requirelist = NULL;
if ((!currheader->obsoleted) && (currheader->next) && (!strcmp(currheader->name,currheader->next->name))) {
// 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 headerList *scanheader;
struct requireList *currrequire;
struct providedList *provided;
struct fileTree *file;
char warning[PATH_MAX];
@ -592,7 +589,6 @@ resolveFirstLevelSourceDependencies(struct configTag *ct, int archidx)
logmsg(LOG_DEBUG,"resolveFirstLevelSourceDependencies - sources");
while (currsourceheader) {
scanheader = ct->headerlist[archidx];
currrequire = NULL;
currsourceheader->requirelist = NULL;
// currsourceheader->require.resolved = malloc(sizeof(struct providedList*)*currsourceheader->requirecount);
for (i = 0; i < currsourceheader->requirecount; i++) {