summaryrefslogtreecommitdiffstats
path: root/mdoc_argv.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_argv.c
parentfaf0f4ffb473b01c18346decdde9edc628919365 (diff)
downloadmandoc-2d4c430c38205b2c5c65b0facaafa3aa81bac9a7.tar.gz
Lint fixes.
Diffstat (limited to 'mdoc_argv.c')
-rw-r--r--mdoc_argv.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/mdoc_argv.c b/mdoc_argv.c
index 6ac75d04..1d8cbcd3 100644
--- a/mdoc_argv.c
+++ b/mdoc_argv.c
@@ -756,11 +756,9 @@ static int
argv_multi(struct mdoc *mdoc, int line,
struct mdoc_argv *v, int *pos, char *buf)
{
- int c, ppos;
+ int c;
char *p;
- ppos = *pos;
-
for (v->sz = 0; ; v->sz++) {
if ('-' == buf[*pos])
break;