Further fsm-fluff removals

- fsm->postpone is only interesting inside the loops, nobody
  is going to look at it after we exited them. In other words
  this just removes stuff that wasn't doing anything at all.
This commit is contained in:
Panu Matilainen 2013-02-18 15:52:34 +02:00
parent 79d8ec88e9
commit c66d4b66eb
1 changed files with 2 additions and 6 deletions

View File

@ -1679,10 +1679,8 @@ int rpmPackageFilesInstall(rpmts ts, rpmte te, rpmfi fi, FD_t cfd,
rc = fsmInit(fsm);
/* Exit on error. */
if (rc) {
fsm->postpone = 1;
if (rc)
break;
}
if (S_ISREG(fsm->sb.st_mode) && fsm->sb.st_nlink > 1)
fsm->postpone = saveHardLink(fsm, &li);
@ -1898,10 +1896,8 @@ int rpmPackageFilesArchive(rpmfi fi, int isSrc, FD_t cfd,
rc = fsmInit(fsm);
/* Exit on error. */
if (rc) {
fsm->postpone = 1;
if (rc)
break;
}
if (S_ISREG(fsm->sb.st_mode) && fsm->sb.st_nlink > 1)
fsm->postpone = saveHardLink(fsm, NULL);