diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2010-03-19 19:35:19 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2010-03-19 19:35:31 +0200 |
commit | cab00e78d151cc84e8468993ec1838d7f4b58e81 (patch) | |
tree | 8e7ae099122a820316eb99b1c85de6e471c6aa7a /lib/rpmgi.c | |
parent | 606ceca33302751af140d8d9ebca598a6a06a39b (diff) | |
download | librpm-tizen-cab00e78d151cc84e8468993ec1838d7f4b58e81.tar.gz librpm-tizen-cab00e78d151cc84e8468993ec1838d7f4b58e81.tar.bz2 librpm-tizen-cab00e78d151cc84e8468993ec1838d7f4b58e81.zip |
Lose some unused leftover rpmgi goo
Diffstat (limited to 'lib/rpmgi.c')
-rw-r--r-- | lib/rpmgi.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/rpmgi.c b/lib/rpmgi.c index c7407d83f..d0a6f94db 100644 --- a/lib/rpmgi.c +++ b/lib/rpmgi.c @@ -7,10 +7,8 @@ #include <rpm/rpmtypes.h> #include <rpm/rpmlib.h> /* rpmReadPackageFile */ -#include <rpm/rpmte.h> /* XXX rpmElementType */ #include <rpm/rpmts.h> #include <rpm/rpmgi.h> -#include <rpm/rpmdb.h> #include <rpm/rpmmacro.h> /* XXX rpmExpand */ #include <rpm/rpmfileutil.h> #include <rpm/rpmlog.h> @@ -19,8 +17,6 @@ #include "debug.h" -int _rpmgi_debug = 0; - rpmgiFlags giFlags = RPMGI_NONE; /** \ingroup rpmgi @@ -29,7 +25,6 @@ struct rpmgi_s { rpmts ts; /*!< Iterator transaction set. */ rpmgiFlags flags; /*!< Iterator control bits. */ - int active; /*!< Iterator is active? */ int i; /*!< Element index. */ int errors; Header h; /*!< Current iterator header. */ @@ -216,7 +211,6 @@ rpmgi rpmgiNew(rpmts ts, rpmgiFlags flags, ARGV_const_t argv) gi->ts = rpmtsLink(ts, __FUNCTION__); gi->flags = flags; - gi->active = 0; gi->i = -1; gi->errors = 0; gi->h = NULL; @@ -261,7 +255,6 @@ Header rpmgiNext(rpmgi gi) enditer: gi->h = headerFree(gi->h); gi->i = -1; - gi->active = 0; return NULL; } |