summaryrefslogtreecommitdiffstats
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
commit2d4c430c38205b2c5c65b0facaafa3aa81bac9a7 (patch)
tree847136216da7630b0e38bc97e52b6be0bbefb958 /mdoc_validate.c
parentfaf0f4ffb473b01c18346decdde9edc628919365 (diff)
downloadmandoc-2d4c430c38205b2c5c65b0facaafa3aa81bac9a7.tar.gz
Lint fixes.
Diffstat (limited to 'mdoc_validate.c')
-rw-r--r--mdoc_validate.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/mdoc_validate.c b/mdoc_validate.c
index 7d44f20c..ab350fa0 100644
--- a/mdoc_validate.c
+++ b/mdoc_validate.c
@@ -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)