aboutsummaryrefslogtreecommitdiffstatshomepage
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
commit20d624cc7e815ef92d8c20af526ac85ce4042df8 (patch)
treeb90e3e99a38fd1e5ffeccc755037c2d49d1dc3de /mdoc_argv.c
parent92611c25bc500e0a4cac5a5e0e3be02f71d4672d (diff)
downloadmandoc-20d624cc7e815ef92d8c20af526ac85ce4042df8.tar.gz
mandoc-20d624cc7e815ef92d8c20af526ac85ce4042df8.tar.zst
mandoc-20d624cc7e815ef92d8c20af526ac85ce4042df8.zip
Lint fixes.
Diffstat (limited to 'mdoc_argv.c')
-rw-r--r--mdoc_argv.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/mdoc_argv.c b/mdoc_argv.c
index 833682eb..d873f048 100644
--- a/mdoc_argv.c
+++ b/mdoc_argv.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc_argv.c,v 1.7 2009/06/17 14:08:47 kristaps Exp $ */
+/* $Id: mdoc_argv.c,v 1.8 2009/06/17 14:10:09 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -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;