From e23954abf58dd400e7cff3a3b8fa85d1ac5cddb3 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sun, 13 Oct 2013 02:16:12 +0200 Subject: [PATCH] Remove unused field buildpriority in providedList --- src/distromatic.c | 3 --- src/include/headerlist.h | 1 - 2 files changed, 4 deletions(-) diff --git a/src/distromatic.c b/src/distromatic.c index 8576431..9b0f7be 100644 --- a/src/distromatic.c +++ b/src/distromatic.c @@ -467,7 +467,6 @@ resolveFirstLevelDependencies(struct configTag *ct, int archidx) scanheader=file->provider[0]; provided->numproviders=file->numproviders; provided->numbuildproviders=0; - provided->buildpriority=0; provided->provider=file->provider; provided->flags=0; } else { @@ -482,7 +481,6 @@ resolveFirstLevelDependencies(struct configTag *ct, int archidx) if (scanheader) { provided->numproviders=1; provided->numbuildproviders=0; - provided->buildpriority=0; provided->provider=malloc(sizeof(struct headerList*)); provided->provider[0]=scanheader; provided->flags=0; @@ -720,7 +718,6 @@ resolveFirstLevelSourceDependencies(struct configTag *ct, int archidx) file=findOrCreateFileTreeEntry(&ct->filetree[archidx],currsourceheader->require[i]->name); if (file->numproviders > 0) { provided->numbuildproviders=file->numproviders; - provided->buildpriority=0; provided->buildprovider=file->provider; provided->flags=0; logmsg(LOG_DEBUG,"file %s is a build provider for %s",currsourceheader->require[i]->name,currsourceheader->name); diff --git a/src/include/headerlist.h b/src/include/headerlist.h index d124c77..d4adf46 100644 --- a/src/include/headerlist.h +++ b/src/include/headerlist.h @@ -30,7 +30,6 @@ struct providedList { int numbuildproviders; struct headerList **buildprovider; char **version; - int buildpriority; struct providedList *next; long id; };