summaryrefslogtreecommitdiffstatshomepage
path: root/main.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-03-22 19:10:48 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-03-22 19:10:48 +0000
commit88d20eead0ae7a10800a000fd389e1b49ed6431e (patch)
treea0bbda1b5b19b4230610a6bed451488681d84755 /main.c
parentcbab9e7de022e9e548c5f200ceb9b259492b1fb8 (diff)
downloadmandoc-88d20eead0ae7a10800a000fd389e1b49ed6431e.tar.gz
mandoc-88d20eead0ae7a10800a000fd389e1b49ed6431e.tar.zst
mandoc-88d20eead0ae7a10800a000fd389e1b49ed6431e.zip
Lint fixes.
Diffstat (limited to 'main.c')
-rw-r--r--main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/main.c b/main.c
index 889b3387..71836e3a 100644
--- a/main.c
+++ b/main.c
@@ -1,4 +1,4 @@
-/* $Id: main.c,v 1.8 2009/03/22 19:01:11 kristaps Exp $ */
+/* $Id: main.c,v 1.9 2009/03/22 19:10:48 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@openbsd.org>
*
@@ -401,13 +401,14 @@ fdesc(struct buf *blk, struct buf *ln,
lnn++;
continue;
}
+ macro = 0;
#endif /* STRIP_XO */
ln->buf[pos] = 0;
if ( ! mdoc_parseln(mdoc, lnn, ln->buf))
return(0);
lnn++;
- macro = pos = 0;
+ pos = 0;
}
}