diff options
author | Michael Schroeder <mls@suse.de> | 2008-03-14 10:08:13 +0000 |
---|---|---|
committer | Michael Schroeder <mls@suse.de> | 2008-03-14 10:08:13 +0000 |
commit | 974fa01e8f96c72a32a722dc55817b55a786b6ca (patch) | |
tree | 0dc3af3b0595916911fcf0cc3fd5dd8b6681fcc8 /tools/dumpsolv.c | |
parent | e37fdd53853b3e1f6e52d1e9f6670e798b5947e9 (diff) | |
download | libsolv-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.c | 17 |
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) { |