diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-05-15 18:43:59 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-05-15 18:43:59 +0000 |
commit | d9799ca5825739321111cab10765f062d0ef116b (patch) | |
tree | 0b60c354ba945d9d58557e34d4c9117c618c584f /roff.c | |
parent | 3ee99f4847d6820fbe129978c52257ce155be2fc (diff) | |
download | mandoc-d9799ca5825739321111cab10765f062d0ef116b.tar.gz |
Segfault fix and letting warnings slip through for now.
Diffstat (limited to 'roff.c')
-rw-r--r-- | roff.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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); } |