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:
e16815f
)
Eliminate unnecessary function
author
Panu Matilainen
<pmatilai@redhat.com>
Wed, 23 Sep 2009 06:27:47 +0000
(09:27 +0300)
committer
Panu Matilainen
<pmatilai@redhat.com>
Wed, 23 Sep 2009 06:27:47 +0000
(09:27 +0300)
python/header-py.c
patch
|
blob
|
history
diff --git
a/python/header-py.c
b/python/header-py.c
index
f449fd2
..
b2f93a6
100644
(file)
--- a/
python/header-py.c
+++ b/
python/header-py.c
@@
-213,9
+213,10
@@
static PyObject * hdrCompressFilelist(hdrObject * s)
}
/* make a header with _all_ the tags we need */
-static
void mungeFilelist(Header h
)
+static
PyObject * hdrFullFilelist(hdrObject * s
)
{
rpmtd fileNames = rpmtdNew();
+ Header h = s->h;
if (!headerIsEntry (h, RPMTAG_BASENAMES)
|| !headerIsEntry (h, RPMTAG_DIRNAMES)
@@
-228,11
+229,6
@@
static void mungeFilelist(Header h)
rpmtdFreeData(fileNames);
}
rpmtdFree(fileNames);
-}
-
-static PyObject * hdrFullFilelist(hdrObject * s)
-{
- mungeFilelist (s->h);
Py_RETURN_NONE;
}