diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2011-05-30 15:50:29 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2011-05-30 15:50:29 +0300 |
commit | f67c47b856b0861e47629b13fce58b38afcdcc7a (patch) | |
tree | 0c5fd69ddb4c5a648939f74b9a3293a3a0bb09aa /lib/verify.c | |
parent | e4203f1a63cc1757c5c3c9d4f63a45f098b29544 (diff) | |
download | rpm-f67c47b856b0861e47629b13fce58b38afcdcc7a.tar.gz |
Eliminate bunch of dead assignments on ts vsflags
- The common pattern here is grabbing current flags to a local
variable, modifying them for an operation and then restoring,
which is fine... but we dont care about the previous flags
when we're restoring them.
Diffstat (limited to 'lib/verify.c')
-rw-r--r-- | lib/verify.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/verify.c b/lib/verify.c index 30fddfef1..48f749c56 100644 --- a/lib/verify.c +++ b/lib/verify.c @@ -483,7 +483,7 @@ int rpmcliVerify(rpmts ts, QVA_t qva, char * const * argv) rpmtsSetScriptFd(ts, scriptFd); ovsflags = rpmtsSetVSFlags(ts, vsflags); ec = rpmcliArgIter(ts, qva, argv); - vsflags = rpmtsSetVSFlags(ts, ovsflags); + rpmtsSetVSFlags(ts, ovsflags); rpmtsSetScriptFd(ts, NULL); if (qva->qva_showPackage == showVerifyPackage) |