summaryrefslogtreecommitdiffstatshomepage
path: root/mdoc_validate.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-06-17 14:10:09 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-06-17 14:10:09 +0000
commit20d624cc7e815ef92d8c20af526ac85ce4042df8 (patch)
treeb90e3e99a38fd1e5ffeccc755037c2d49d1dc3de /mdoc_validate.c
parent92611c25bc500e0a4cac5a5e0e3be02f71d4672d (diff)
downloadmandoc-20d624cc7e815ef92d8c20af526ac85ce4042df8.tar.gz
mandoc-20d624cc7e815ef92d8c20af526ac85ce4042df8.tar.zst
mandoc-20d624cc7e815ef92d8c20af526ac85ce4042df8.zip
Lint fixes.
Diffstat (limited to 'mdoc_validate.c')
-rw-r--r--mdoc_validate.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/mdoc_validate.c b/mdoc_validate.c
index 3111f864..71b9ff27 100644
--- a/mdoc_validate.c
+++ b/mdoc_validate.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc_validate.c,v 1.14 2009/06/17 14:08:47 kristaps Exp $ */
+/* $Id: mdoc_validate.c,v 1.15 2009/06/17 14:10:09 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -802,7 +802,7 @@ pre_display(PRE_ARGS)
static int
pre_bl(PRE_ARGS)
{
- int pos, col, type, width, offset;
+ int pos, type, width, offset;
if (MDOC_BLOCK != n->type)
return(1);
@@ -811,7 +811,7 @@ pre_bl(PRE_ARGS)
/* Make sure that only one type of list is specified. */
- type = offset = width = col = -1;
+ type = offset = width = -1;
/* LINTED */
for (pos = 0; pos < (int)n->args->argc; pos++)
@@ -840,7 +840,6 @@ pre_bl(PRE_ARGS)
if (-1 != type)
return(nerr(mdoc, n, EMULTILIST));
type = n->args->argv[pos].arg;
- col = pos;
break;
case (MDOC_Width):
if (-1 != width)