summaryrefslogtreecommitdiff
path: root/lib/rpmgi.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2007-12-15 21:14:44 +0200
committerPanu Matilainen <pmatilai@redhat.com>2007-12-15 21:14:44 +0200
commitf013449361e92ea2a6ffaa1bf3e9d1939f18d8b4 (patch)
tree633838a8c9054aca13578ae6f1819d2c0b576f6e /lib/rpmgi.c
parentaa61b715e6639d6900ca66facb62d5f099dd11d4 (diff)
downloadrpm-f013449361e92ea2a6ffaa1bf3e9d1939f18d8b4.tar.gz
rpm-f013449361e92ea2a6ffaa1bf3e9d1939f18d8b4.tar.bz2
rpm-f013449361e92ea2a6ffaa1bf3e9d1939f18d8b4.zip
Couple of bogus const removals from rpmgi and rpmds structs
- in both cases the data is already directly inaccessible from outside, no further protection necessary
Diffstat (limited to 'lib/rpmgi.c')
-rw-r--r--lib/rpmgi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rpmgi.c b/lib/rpmgi.c
index c590188bd..f0e0f17a3 100644
--- a/lib/rpmgi.c
+++ b/lib/rpmgi.c
@@ -34,7 +34,7 @@ struct rpmgi_s {
int active; /*!< Iterator is active? */
int i; /*!< Element index. */
int errors;
- const char * hdrPath; /*!< Path to current iterator header. */
+ char * hdrPath; /*!< Path to current iterator header. */
Header h; /*!< Current iterator header. */
rpmtsi tsi;