summaryrefslogtreecommitdiff
path: root/tools/dumpsolv.c
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2008-03-14 10:08:13 +0000
committerMichael Schroeder <mls@suse.de>2008-03-14 10:08:13 +0000
commit974fa01e8f96c72a32a722dc55817b55a786b6ca (patch)
tree0dc3af3b0595916911fcf0cc3fd5dd8b6681fcc8 /tools/dumpsolv.c
parente37fdd53853b3e1f6e52d1e9f6670e798b5947e9 (diff)
downloadlibsolv-974fa01e8f96c72a32a722dc55817b55a786b6ca.tar.gz
libsolv-974fa01e8f96c72a32a722dc55817b55a786b6ca.tar.bz2
libsolv-974fa01e8f96c72a32a722dc55817b55a786b6ca.zip
- do away with printdir
Diffstat (limited to 'tools/dumpsolv.c')
-rw-r--r--tools/dumpsolv.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/tools/dumpsolv.c b/tools/dumpsolv.c
index 480d300..c33a21e 100644
--- a/tools/dumpsolv.c
+++ b/tools/dumpsolv.c
@@ -51,23 +51,6 @@ printids(Repo *repo, char *kind, Offset ido)
printf(" %s\n", dep2str(pool, id));
}
-static void
-printdir(Repodata *data, Id dir)
-{
- Id comp;
- Id parent = dirpool_parent(&data->dirpool, dir);
- if (parent)
- {
- printdir(data, parent);
- putchar('/');
- }
- comp = dirpool_compid(&data->dirpool, dir);
- if (data->localpool)
- printf("%s", stringpool_id2str(&data->spool, comp));
- else
- printf("%s", id2str(data->repo->pool, comp));
-}
-
int
dump_repoattrs_cb(void *vcbdata, Solvable *s, Repodata *data, Repokey *key, KeyValue *kv)
{