From a75cd602ebfaf527c83177aa31df55e03e2e854e 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_opts.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'tbl_opts.c') diff --git a/tbl_opts.c b/tbl_opts.c index d5ad42f7..4716e436 100644 --- a/tbl_opts.c +++ b/tbl_opts.c @@ -1,4 +1,4 @@ -/* $Id: tbl_opts.c,v 1.15 2014/11/26 17:51:55 schwarze Exp $ */ +/* $Id: tbl_opts.c,v 1.16 2015/01/14 22:44:55 schwarze Exp $ */ /* * Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons * @@ -252,7 +252,7 @@ again: /* /* NOTREACHED */ } -int +void tbl_option(struct tbl_node *tbl, int ln, const char *p) { int pos; @@ -265,7 +265,4 @@ tbl_option(struct tbl_node *tbl, int ln, const char *p) pos = 0; opt(tbl, ln, p, &pos); - - /* Always succeed. */ - return(1); } -- cgit v1.2.3