summaryrefslogtreecommitdiff
path: root/lib/psm.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2009-08-28 15:43:07 +0300
committerPanu Matilainen <pmatilai@redhat.com>2009-08-28 15:43:07 +0300
commit8f10f2362ec5820037591d01349e502868f89eb3 (patch)
tree2c9188c51ba9d3419bf0bf4893608a131dbe2e76 /lib/psm.c
parent41eb3ac5817ca0a6672a528bdc083b632c11d0bd (diff)
downloadlibrpm-tizen-8f10f2362ec5820037591d01349e502868f89eb3.tar.gz
librpm-tizen-8f10f2362ec5820037591d01349e502868f89eb3.tar.bz2
librpm-tizen-8f10f2362ec5820037591d01349e502868f89eb3.zip
Eliminate unused result code from psm struct
Diffstat (limited to 'lib/psm.c')
-rw-r--r--lib/psm.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/psm.c b/lib/psm.c
index a5bfc4e5a..0b88a62a0 100644
--- a/lib/psm.c
+++ b/lib/psm.c
@@ -53,7 +53,6 @@ struct rpmpsm_s {
rpmCallbackType what; /*!< Callback type. */
rpm_loff_t amount; /*!< Callback amount. */
rpm_loff_t total; /*!< Callback total. */
- rpmRC rc;
pkgStage goal;
pkgStage stage; /*!< Current psm stage. */
pkgStage nstage; /*!< Next psm stage. */
@@ -1187,7 +1186,7 @@ rpmRC rpmpsmStage(rpmpsm psm, pkgStage stage)
const rpmts ts = psm->ts;
rpm_color_t tscolor = rpmtsColor(ts);
rpmfi fi = psm->fi;
- rpmRC rc = psm->rc;
+ rpmRC rc = RPMRC_OK;
int saveerrno;
int xx;
@@ -1549,7 +1548,6 @@ rpmRC rpmpsmStage(rpmpsm psm, pkgStage stage)
case PSM_PKGINSTALL:
case PSM_PKGERASE:
psm->goal = stage;
- psm->rc = RPMRC_OK;
psm->stepName = pkgStageString(stage);
rc = rpmpsmNext(psm, PSM_INIT);