summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2011-03-04 13:49:16 +0200
committerPanu Matilainen <pmatilai@redhat.com>2011-03-04 13:49:16 +0200
commitecead75632fbce1f89fb740335d94fd4f2e00309 (patch)
tree47323b483421db31ba517ec581008dcc1171ea50 /python
parent3632294483dd1eb8f26ed390290cf39580bdffc7 (diff)
downloadrpm-ecead75632fbce1f89fb740335d94fd4f2e00309.tar.gz
rpm-ecead75632fbce1f89fb740335d94fd4f2e00309.tar.bz2
rpm-ecead75632fbce1f89fb740335d94fd4f2e00309.zip
Remove unused return code variable
- rpmdsRpmlib() can return errors but not really applicaple here
Diffstat (limited to 'python')
-rw-r--r--python/rpmds-py.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/python/rpmds-py.c b/python/rpmds-py.c
index 7729d85c2..13d1a4df7 100644
--- a/python/rpmds-py.c
+++ b/python/rpmds-py.c
@@ -174,10 +174,9 @@ static PyObject *rpmds_Instance(rpmdsObject * s)
static PyObject * rpmds_Rpmlib(rpmdsObject * s)
{
rpmds ds = NULL;
- int xx;
/* XXX check return code, permit arg (NULL uses system default). */
- xx = rpmdsRpmlib(&ds, NULL);
+ rpmdsRpmlib(&ds, NULL);
return rpmds_Wrap(&rpmds_Type, ds);
}