]> git.cameronkatri.com Git - mandoc.git/blobdiff - tree.c
Merge from OpenBSD (similar to my original fix committed on Oct 15, 2010):
[mandoc.git] / tree.c
diff --git a/tree.c b/tree.c
index 52e120f932747edb91c3a6874bd63b79cc43fb46..70bd73d9ef27dc7ed15e56fe0c235839c0e39f71 100644 (file)
--- a/tree.c
+++ b/tree.c
@@ -1,4 +1,4 @@
-/*     $Id: tree.c,v 1.30 2011/01/02 20:34:05 kristaps Exp $ */
+/*     $Id: tree.c,v 1.31 2011/01/03 13:59:21 kristaps Exp $ */
 /*
  * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@bsd.lv>
  *
@@ -249,21 +249,8 @@ static void
 print_span(const struct tbl_span *sp, int indent)
 {
        const struct tbl_dat *dp;
-       const struct tbl_head *hp;
        int              i;
 
-       if (TBL_SPAN_FIRST & sp->flags) {
-               for (i = 0; i < indent; i++)
-                       putchar('\t');
-               printf("tbl-head: ");
-               for (hp = sp->head; hp; hp = hp->next) {
-                       printf("[%d]", hp->width);
-                       if (hp->next)
-                               putchar(' ');
-               }
-               putchar('\n');
-       }
-
        for (i = 0; i < indent; i++)
                putchar('\t');