summaryrefslogtreecommitdiffstats
path: root/html.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-09-21 13:42:01 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-09-21 13:42:01 +0000
commitb8b56a6416597504ce80112db5a0e374efeaf780 (patch)
tree13a009422b6513ebfb003924365e28fdf734482f /html.c
parent14dd31b8463de88a036d22876fd21cbcacffde5a (diff)
downloadmandoc-b8b56a6416597504ce80112db5a0e374efeaf780.tar.gz
Lint pass (OpenBSD-alpha). Noops.
Diffstat (limited to 'html.c')
-rw-r--r--html.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/html.c b/html.c
index 0151003c..1c7e8ab4 100644
--- a/html.c
+++ b/html.c
@@ -406,7 +406,7 @@ void *
html_alloc(char *outopts)
{
struct html *h;
- char *toks[3], *o, *v;
+ char *toks[3], *v;
toks[0] = "style";
toks[1] = "base";
@@ -423,8 +423,7 @@ html_alloc(char *outopts)
return(NULL);
}
- while (*outopts) {
- o = outopts;
+ while (*outopts)
switch (getsubopt(&outopts, toks, &v)) {
case (0):
h->style = v;
@@ -435,7 +434,6 @@ html_alloc(char *outopts)
default:
break;
}
- }
return(h);
}