diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2011-03-04 13:49:16 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2011-03-04 13:49:16 +0200 |
commit | ecead75632fbce1f89fb740335d94fd4f2e00309 (patch) | |
tree | 47323b483421db31ba517ec581008dcc1171ea50 /python | |
parent | 3632294483dd1eb8f26ed390290cf39580bdffc7 (diff) | |
download | rpm-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.c | 3 |
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); } |