diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2009-08-28 15:43:07 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2009-08-28 15:43:07 +0300 |
commit | 8f10f2362ec5820037591d01349e502868f89eb3 (patch) | |
tree | 2c9188c51ba9d3419bf0bf4893608a131dbe2e76 /lib/psm.c | |
parent | 41eb3ac5817ca0a6672a528bdc083b632c11d0bd (diff) | |
download | librpm-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.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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); |