diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2015-01-14 22:44:55 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2015-01-14 22:44:55 +0000 |
commit | a75cd602ebfaf527c83177aa31df55e03e2e854e (patch) | |
tree | d3e741e23d8fa363adac0a34b4179d47ab270190 /tbl_opts.c | |
parent | e54b1e9f0f881374060eef0e4c54bdd192cf7f34 (diff) | |
download | mandoc-a75cd602ebfaf527c83177aa31df55e03e2e854e.tar.gz mandoc-a75cd602ebfaf527c83177aa31df55e03e2e854e.tar.zst mandoc-a75cd602ebfaf527c83177aa31df55e03e2e854e.zip |
simplify by getting rid of ROFF_ERR in tbl(7) parsing; no functional change
Diffstat (limited to 'tbl_opts.c')
-rw-r--r-- | tbl_opts.c | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -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 <kristaps@bsd.lv> * @@ -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); } |