X-Git-Url: https://git.cameronkatri.com/mandoc.git/blobdiff_plain/28f89d13b7d6b04d99517c6e31655ddfbd3ea541..0236a2d85af70886c7725a1f28a04ad4216a5d4d:/mdoc_validate.c?ds=sidebyside diff --git a/mdoc_validate.c b/mdoc_validate.c index c6af80a9..822c3b5c 100644 --- a/mdoc_validate.c +++ b/mdoc_validate.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_validate.c,v 1.112 2010/07/20 14:56:42 kristaps Exp $ */ +/* $Id: mdoc_validate.c,v 1.113 2010/07/21 09:08:26 kristaps Exp $ */ /* * Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons * @@ -624,6 +624,8 @@ pre_bl(PRE_ARGS) if ( ! mdoc_nmsg(mdoc, n, MANDOCERR_IGNARGV)) return(0); break; + default: + continue; } /* Check: duplicate auxiliary arguments. */ @@ -946,7 +948,7 @@ static int post_bf(POST_ARGS) { struct mdoc_node *np; - int arg; + enum mdocargt arg; /* * Unlike other data pointers, these are "housed" by the HEAD