fprint.h (fprintCacheEntry_s): removed isFake (unused)

This commit is contained in:
Alexey Tourbin 2009-03-26 09:43:00 +03:00
parent 6a2cc38410
commit 732a880e8c
2 changed files with 2 additions and 4 deletions

View File

@ -140,7 +140,6 @@ static fingerPrint doLookup(fingerPrintCache cache,
strcpy(dn, (*buf != '\0' ? buf : "/"));
newEntry->ino = sb.st_ino;
newEntry->dev = sb.st_dev;
newEntry->isFake = 0;
newEntry->dirName = dn;
fp.entry = newEntry;
@ -161,7 +160,7 @@ static fingerPrint doLookup(fingerPrintCache cache,
fp.baseName = baseName;
if (!scareMemory && fp.subDir != NULL)
fp.subDir = xstrdup(fp.subDir);
/*@-compdef@*/ /* FIX: fp.entry.{dirName,dev,ino,isFake} undef @*/
/*@-compdef@*/ /* FIX: fp.entry.{dirName,dev,ino} undef @*/
return fp;
/*@=compdef@*/
}
@ -180,7 +179,7 @@ static fingerPrint doLookup(fingerPrintCache cache,
/*@notreached@*/
/*@-compdef@*/ /* FIX: fp.entry.{dirName,dev,ino,isFake} undef @*/
/*@-compdef@*/ /* FIX: fp.entry.{dirName,dev,ino} undef @*/
/*@-nullret@*/ return fp; /*@=nullret@*/ /* LCL: can't happen. */
/*@=compdef@*/
}

View File

@ -28,7 +28,6 @@ struct fprintCacheEntry_s {
const char * dirName; /*!< path to existing directory */
dev_t dev; /*!< stat(2) device number */
ino_t ino; /*!< stat(2) inode number */
int isFake; /*!< (currently unused) */
};
/**