summaryrefslogtreecommitdiffstats
path: root/argv.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-02-23 15:34:53 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-02-23 15:34:53 +0000
commit61ed3cda9170f4f414c6f2d577c68533f7bfe154 (patch)
tree47b541df9c9d8066ace5d426dc3d63271d46be5a /argv.c
parent0433d239533d292f8994aa02fe4bd7d8eacd2bb5 (diff)
downloadmandoc-61ed3cda9170f4f414c6f2d577c68533f7bfe154.tar.gz
Compiles fine on NetBSD now, too.
Diffstat (limited to 'argv.c')
-rw-r--r--argv.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/argv.c b/argv.c
index 30a1db6b..c7e8f46a 100644
--- a/argv.c
+++ b/argv.c
@@ -715,7 +715,7 @@ int
mdoc_argv(struct mdoc *mdoc, int line, int tok,
struct mdoc_arg *v, int *pos, char *buf)
{
- int i, ppos;
+ int i;
char *p;
(void)memset(v, 0, sizeof(struct mdoc_arg));
@@ -758,7 +758,6 @@ mdoc_argv(struct mdoc *mdoc, int line, int tok,
/* FIXME: whitespace if no value. */
- ppos = *pos;
if ( ! argv(mdoc, line, v, pos, buf))
return(ARGV_ERROR);