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:
parent
79d8ec88e9
commit
c66d4b66eb
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue