projects
/
platform
/
upstream
/
rpm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d440c4
)
Eliminate unused fileCount member from FileList struct
author
Panu Matilainen
<pmatilai@redhat.com>
Tue, 21 Jun 2011 11:33:48 +0000
(14:33 +0300)
committer
Panu Matilainen
<pmatilai@redhat.com>
Tue, 21 Jun 2011 11:33:48 +0000
(14:33 +0300)
build/files.c
patch
|
blob
|
history
diff --git
a/build/files.c
b/build/files.c
index
fe16843
..
6b0217f
100644
(file)
--- a/
build/files.c
+++ b/
build/files.c
@@
-101,7
+101,6
@@
static StringBuf check_fileList = NULL;
typedef struct FileList_s {
char * buildRoot;
- int fileCount;
int processingFailed;
int passedSpecialDoc;
@@
-1513,7
+1512,6
@@
static rpmRC addFile(FileList fl, const char * diskPath,
}
fl->fileListRecsUsed++;
- fl->fileCount++;
return RPMRC_OK;
}
@@
-1768,7
+1766,6
@@
static rpmRC processPackageFiles(rpmSpec spec, rpmBuildPkgFlags pkgFlags,
/* XXX spec->buildRoot == NULL, then xstrdup("") is returned */
fl.buildRoot = rpmGenPath(spec->rootDir, spec->buildRoot, NULL);
- fl.fileCount = 0;
fl.processingFailed = 0;
fl.passedSpecialDoc = 0;