projects
/
platform
/
upstream
/
rpm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3632294
)
Remove unused return code variable
author
Panu Matilainen
<pmatilai@redhat.com>
Fri, 4 Mar 2011 11:49:16 +0000
(13:49 +0200)
committer
Panu Matilainen
<pmatilai@redhat.com>
Fri, 4 Mar 2011 11:49:16 +0000
(13:49 +0200)
- rpmdsRpmlib() can return errors but not really applicaple here
python/rpmds-py.c
patch
|
blob
|
history
diff --git
a/python/rpmds-py.c
b/python/rpmds-py.c
index
7729d85
..
13d1a4d
100644
(file)
--- 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);
}