From f54bc255ec6ce8e5cd01d9299f00e1a96baa51a4 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Sat, 15 May 2010 18:43:59 +0000 Subject: Segfault fix and letting warnings slip through for now. --- roff.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'roff.c') diff --git a/roff.c b/roff.c index 3e2d2ce5..5a78640e 100644 --- a/roff.c +++ b/roff.c @@ -1,4 +1,4 @@ -/* $Id: roff.c,v 1.67 2010/05/15 18:35:14 kristaps Exp $ */ +/* $Id: roff.c,v 1.68 2010/05/15 18:43:59 kristaps Exp $ */ /* * Copyright (c) 2010 Kristaps Dzonsons * @@ -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); } -- cgit v1.2.3