From 66c0d4ee6b96190426d310e6b0be4c7ce3d7fe42 Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Wed, 23 Sep 2009 09:27:47 +0300 Subject: [PATCH] Eliminate unnecessary function --- python/header-py.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/python/header-py.c b/python/header-py.c index f449fd2..b2f93a6 100644 --- 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; } -- 2.7.4