summaryrefslogtreecommitdiff
path: root/rpmdb/header.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2003-06-04 18:02:49 +0000
committerjbj <devnull@localhost>2003-06-04 18:02:49 +0000
commitd865a3cfe1e8cfea7cb4fc71c7258227573b4c08 (patch)
treeec078c6428e9d97bf42aeabea2a16a0719b88ddd /rpmdb/header.c
parent563a233ece3000a410d899dff6931fae650df46c (diff)
downloadlibrpm-tizen-d865a3cfe1e8cfea7cb4fc71c7258227573b4c08.tar.gz
librpm-tizen-d865a3cfe1e8cfea7cb4fc71c7258227573b4c08.tar.bz2
librpm-tizen-d865a3cfe1e8cfea7cb4fc71c7258227573b4c08.zip
dump xml queryformat debugging code.
CVS patchset: 6892 CVS date: 2003/06/04 18:02:49
Diffstat (limited to 'rpmdb/header.c')
-rw-r--r--rpmdb/header.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/rpmdb/header.c b/rpmdb/header.c
index b059a5263..f6b710119 100644
--- a/rpmdb/header.c
+++ b/rpmdb/header.c
@@ -2424,11 +2424,6 @@ static headerSprintfArgs hsaInit(/*@returned@*/ headerSprintfArgs hsa)
NULL));
if (hsa != NULL) {
-#if 0
-if (tag != NULL) {
-fprintf(stderr, "*** hsaInit(%d): fmt %p ext[%d] %p #%d 1? %d format \"%s\" type \"%s\" pad %d\n", hsa->format->type, tag->fmt, tag->extNum, tag->ext, tag->tag, tag->justOne, tag->format, tag->type, tag->pad);
-}
-#endif
hsa->i = 0;
if (tag != NULL && tag->tag == -2)
hsa->hi = headerInitIterator(hsa->h);
@@ -2472,12 +2467,6 @@ static sprintfToken hsaNext(/*@returned@*/ headerSprintfArgs hsa)
}
}
-#if 0
-if (tag != NULL) {
-fprintf(stderr, "*** hsaNext(%d): fmt %p ext[%d] %p #%d 1? %d format \"%s\" type \"%s\" pad %d ret %p\n", hsa->format->type, tag->fmt, tag->extNum, tag->ext, tag->tag, tag->justOne, tag->format, tag->type, tag->pad, fmt);
-}
-#endif
-
/*@-dependenttrans -onlytrans@*/
return fmt;
/*@=dependenttrans =onlytrans@*/
@@ -2491,19 +2480,6 @@ fprintf(stderr, "*** hsaNext(%d): fmt %p ext[%d] %p #%d 1? %d format \"%s\" type
static headerSprintfArgs hsaFini(/*@returned@*/ headerSprintfArgs hsa)
/*@modifies hsa */
{
-#if 0
- sprintfTag tag =
- (hsa->format->type == PTOK_TAG
- ? &hsa->format->u.tag :
- (hsa->format->type == PTOK_ARRAY
- ? &hsa->format->u.array.format->u.tag :
- NULL));
-
-if (tag != NULL) {
-fprintf(stderr, "*** hsaFini(%d): fmt %p ext[%d] %p #%d 1? %d format \"%s\" type \"%s\" pad %d\n", hsa->format->type, tag->fmt, tag->extNum, tag->ext, tag->tag, tag->justOne, tag->format, tag->type, tag->pad);
-}
-#endif
-
if (hsa != NULL) {
hsa->hi = headerFreeIterator(hsa->hi);
hsa->i = 0;