summaryrefslogtreecommitdiffstats
path: root/roff.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-05-15 18:43:59 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-05-15 18:43:59 +0000
commitd9799ca5825739321111cab10765f062d0ef116b (patch)
tree0b60c354ba945d9d58557e34d4c9117c618c584f /roff.c
parent3ee99f4847d6820fbe129978c52257ce155be2fc (diff)
downloadmandoc-d9799ca5825739321111cab10765f062d0ef116b.tar.gz
Segfault fix and letting warnings slip through for now.
Diffstat (limited to 'roff.c')
-rw-r--r--roff.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/roff.c b/roff.c
index e79de28d..88f8f060 100644
--- a/roff.c
+++ b/roff.c
@@ -157,7 +157,7 @@ static void
roff_alloc1(struct roff *r)
{
- memset(r, 0, sizeof(struct roff));
+ /* Do nothing for now. */
}
@@ -301,9 +301,11 @@ static enum rofferr
roff_new_close(ROFF_ARGS)
{
+ /*
if ( ! (*r->msg)(MANDOCERR_NOSCOPE, r->data, ln, ppos, NULL))
return(ROFF_ERR);
- return(ROFF_IGN);
+ */
+ return(ROFF_CONT);
}