summaryrefslogtreecommitdiff
path: root/lib/rpmfi.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2008-11-27 09:39:40 +0200
committerPanu Matilainen <pmatilai@redhat.com>2008-11-27 09:39:40 +0200
commit01739ef5d6a56cea818f88a693a21359e3badca3 (patch)
tree875948452a9287dd151fea793a98e1c4078dff24 /lib/rpmfi.c
parentc2bde085f546efe016419ee286b2448f63c3a0e0 (diff)
downloadlibrpm-tizen-01739ef5d6a56cea818f88a693a21359e3badca3.tar.gz
librpm-tizen-01739ef5d6a56cea818f88a693a21359e3badca3.tar.bz2
librpm-tizen-01739ef5d6a56cea818f88a693a21359e3badca3.zip
Eliminate silly rpmfiTypeString()
- Transaction elements are install/erase type, not file info sets, rename to rpmteTypeString(). It's only "useful" for fsm internal debugging messages, hide it there.
Diffstat (limited to 'lib/rpmfi.c')
-rw-r--r--lib/rpmfi.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/rpmfi.c b/lib/rpmfi.c
index 30e9e7e9a..e0d99a764 100644
--- a/lib/rpmfi.c
+++ b/lib/rpmfi.c
@@ -731,15 +731,6 @@ int rpmfiConfigConflict(const rpmfi fi)
return 1;
}
-const char * rpmfiTypeString(rpmfi fi)
-{
- switch(rpmteType(fi->te)) {
- case TR_ADDED: return " install";
- case TR_REMOVED: return " erase";
- default: return "???";
- }
-}
-
static char **duparray(char ** src, int size)
{
char **dest = xmalloc((size+1) * sizeof(*dest));