]> git.cameronkatri.com Git - mandoc.git/blobdiff - out.c
First, make extra data cells be thrown away. This makes "dp->layout"
[mandoc.git] / out.c
diff --git a/out.c b/out.c
index 58fdf951c62ff85fdf99f2ffd7da4a4e2899a805..b13d783f7989306eafbb995b63ae2fd0763e1062 100644 (file)
--- a/out.c
+++ b/out.c
@@ -1,4 +1,4 @@
-/*     $Id: out.c,v 1.32 2011/01/08 17:16:48 kristaps Exp $ */
+/*     $Id: out.c,v 1.33 2011/01/10 14:40:30 kristaps Exp $ */
 /*
  * Copyright (c) 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv>
  *
@@ -399,8 +399,7 @@ tblcalc(struct rofftbl *tbl, const struct tbl_span *sp)
                 * to data cells in the data section.
                 */
                for (dp = sp->first; dp; dp = dp->next) {
-                       if (NULL == dp->layout)
-                               continue;
+                       assert(dp->layout);
                        col = &tbl->cols[dp->layout->head->ident];
                        tblcalc_data(tbl, col, sp->tbl, dp);
                }