From 323e3a106a57ad0f1823fa1f87d6bafc7f3097f3 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Wed, 14 Jan 2015 22:44:55 +0000 Subject: simplify by getting rid of ROFF_ERR in tbl(7) parsing; no functional change --- tbl.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'tbl.c') diff --git a/tbl.c b/tbl.c index 33af71d2..dc8752c9 100644 --- a/tbl.c +++ b/tbl.c @@ -55,9 +55,11 @@ tbl_read(struct tbl_node *tbl, int ln, const char *p, int offs) switch (tbl->part) { case TBL_PART_OPTS: - return(tbl_option(tbl, ln, p) ? ROFF_IGN : ROFF_ERR); + tbl_option(tbl, ln, p); + return(ROFF_IGN); case TBL_PART_LAYOUT: - return(tbl_layout(tbl, ln, p) ? ROFF_IGN : ROFF_ERR); + tbl_layout(tbl, ln, p); + return(ROFF_IGN); case TBL_PART_CDATA: return(tbl_cdata(tbl, ln, p) ? ROFF_TBL : ROFF_IGN); default: -- cgit