diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2011-05-28 22:28:53 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2011-05-28 22:28:53 +0300 |
commit | d26080fa88d695396068543c7be88c9ffbf2307c (patch) | |
tree | d0cdd60640b387a165463fc188831e143d2e27c4 /lib/rpmte.c | |
parent | 9f72c7f2cda74172bfe5c6c558f4c20b783ad115 (diff) | |
download | librpm-tizen-d26080fa88d695396068543c7be88c9ffbf2307c.tar.gz librpm-tizen-d26080fa88d695396068543c7be88c9ffbf2307c.tar.bz2 librpm-tizen-d26080fa88d695396068543c7be88c9ffbf2307c.zip |
Eliminate dead NULL-assignments at scope-end in librpm, part IV
- Remove NULL-assignments of local variables at the end of scope
in the higher level package-related "objects": rpmds, rpmfi, rpmte
Diffstat (limited to 'lib/rpmte.c')
-rw-r--r-- | lib/rpmte.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rpmte.c b/lib/rpmte.c index d13575ac1..448a35af9 100644 --- a/lib/rpmte.c +++ b/lib/rpmte.c @@ -627,7 +627,7 @@ static Header rpmteDBHeader(rpmte te) /* iterator returns weak refs, grab hold of header */ if ((h = rpmdbNextIterator(mi))) h = headerLink(h); - mi = rpmdbFreeIterator(mi); + rpmdbFreeIterator(mi); return h; } |