From: Panu Matilainen Date: Tue, 21 Jun 2011 11:33:48 +0000 (+0300) Subject: Eliminate unused fileCount member from FileList struct X-Git-Tag: rpm-4.10.0-beta1~421 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2c7f83867cffcdc7d11a0fd60599f6153be829fb;p=platform%2Fupstream%2Frpm.git Eliminate unused fileCount member from FileList struct --- diff --git a/build/files.c b/build/files.c index fe16843..6b0217f 100644 --- 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;