From f6dd6a8975af8d5bf3e1397a69e955666d4ee3c3 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Tue, 6 Apr 2010 17:01:27 +0000 Subject: Removed warning for `Er' when not used in certain sections (pointed out by Joerg Sonnenberger). --- mdoc_validate.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'mdoc_validate.c') diff --git a/mdoc_validate.c b/mdoc_validate.c index f2bdeff2..2f27220d 100644 --- a/mdoc_validate.c +++ b/mdoc_validate.c @@ -102,7 +102,6 @@ static int pre_cd(PRE_ARGS); static int pre_dd(PRE_ARGS); static int pre_display(PRE_ARGS); static int pre_dt(PRE_ARGS); -static int pre_er(PRE_ARGS); static int pre_ex(PRE_ARGS); static int pre_fd(PRE_ARGS); static int pre_it(PRE_ARGS); @@ -142,7 +141,7 @@ static v_pre pres_cd[] = { pre_cd, NULL }; static v_pre pres_d1[] = { pre_display, NULL }; static v_pre pres_dd[] = { pre_dd, NULL }; static v_pre pres_dt[] = { pre_dt, NULL }; -static v_pre pres_er[] = { pre_er, NULL }; +static v_pre pres_er[] = { NULL, NULL }; static v_pre pres_ex[] = { pre_ex, NULL }; static v_pre pres_fd[] = { pre_fd, NULL }; static v_pre pres_it[] = { pre_it, NULL }; @@ -803,14 +802,6 @@ pre_ex(PRE_ARGS) } -static int -pre_er(PRE_ARGS) -{ - - return(check_msec(mdoc, n, 2, 3, 9, 0)); -} - - static int pre_cd(PRE_ARGS) { -- cgit