summaryrefslogtreecommitdiff
path: root/lib/rpmdb.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2009-07-23 12:24:10 +0300
committerPanu Matilainen <pmatilai@redhat.com>2009-07-23 12:24:10 +0300
commit69702c1de3e24bb44f741fbad6e961213f8db9e4 (patch)
treee4d8969df4e0ba395b095462bd22671257c5972c /lib/rpmdb.c
parent52e4b9bcaca60499e8bb7f23eb590ce01c89c574 (diff)
downloadrpm-69702c1de3e24bb44f741fbad6e961213f8db9e4.tar.gz
Kill off lclint remnants everywhere
- remove ancient and likely irrelevant LCL comments and bogus NULL checks
Diffstat (limited to 'lib/rpmdb.c')
-rw-r--r--lib/rpmdb.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/rpmdb.c b/lib/rpmdb.c
index 64e0650ab..1f1c54501 100644
--- a/lib/rpmdb.c
+++ b/lib/rpmdb.c
@@ -1562,7 +1562,6 @@ rpmdbMatchIterator rpmdbFreeIterator(rpmdbMatchIterator mi)
mire->pattern = _free(mire->pattern);
if (mire->preg != NULL) {
regfree(mire->preg);
- /* LCL: regfree has bogus only */
mire->preg = _free(mire->preg);
}
}
@@ -1810,7 +1809,6 @@ int rpmdbSetIteratorRE(rpmdbMatchIterator mi, rpmTag tag,
allpat = _free(allpat);
if (preg) {
regfree(preg);
- /* LCL: regfree has bogus only */
preg = _free(preg);
}
return rc;
@@ -2147,7 +2145,6 @@ void rpmdbSortIterator(rpmdbMatchIterator mi)
}
}
-/* LCL: segfault */
static int rpmdbGrowIterator(rpmdbMatchIterator mi)
{
DBC * dbcursor;