summaryrefslogtreecommitdiffstats
path: root/html.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2008-12-05 22:54:44 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2008-12-05 22:54:44 +0000
commitc73b01760898700572c851925723527b7c637c8a (patch)
tree94dfae09ca45563154d127c2451860174180a411 /html.c
parentd6d6f5e42f2444e9f1979336cacb89b0a8d585b5 (diff)
downloadmandoc-c73b01760898700572c851925723527b7c637c8a.tar.gz
*** empty log message ***
Diffstat (limited to 'html.c')
-rw-r--r--html.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/html.c b/html.c
index 0df24101..137144bc 100644
--- a/html.c
+++ b/html.c
@@ -115,14 +115,14 @@ html_It_headtagname(struct md_mbuf *mbuf, struct htmlq *q,
const int *argc, const char **argv, size_t *res)
{
struct htmlnode *n;
- int i, c;
+ int i;
for (n = q->last; n; n = n->parent)
if (n->tok == ROFF_Bl)
break;
assert(n);
- for (i = 0; ROFF_ARGMAX != (c = n->argc[i]) &&
+ for (i = 0; ROFF_ARGMAX != n->argc[i] &&
i < ROFF_MAXLINEARG; i++) {
switch (n->argc[i]) {
case (ROFF_Tag):
@@ -148,14 +148,14 @@ html_It_bodytagname(struct md_mbuf *mbuf, struct htmlq *q,
const int *argc, const char **argv, size_t *res)
{
struct htmlnode *n;
- int i, c;
+ int i;
for (n = q->last; n; n = n->parent)
if (n->tok == ROFF_Bl)
break;
assert(n);
- for (i = 0; ROFF_ARGMAX != (c = n->argc[i]) &&
+ for (i = 0; ROFF_ARGMAX != n->argc[i] &&
i < ROFF_MAXLINEARG; i++) {
switch (n->argc[i]) {
case (ROFF_Enum):
@@ -198,9 +198,9 @@ static int
html_Bl_bodytagname(struct md_mbuf *mbuf, struct htmlq *q,
const int *argc, const char **argv, size_t *res)
{
- int c, i;
+ int i;
- for (i = 0; ROFF_ARGMAX != (c = argc[i])
+ for (i = 0; ROFF_ARGMAX != argc[i]
&& i < ROFF_MAXLINEARG; i++) {
switch (argc[i]) {
case (ROFF_Enum):
@@ -242,14 +242,14 @@ html_It_blocktagname(struct md_mbuf *mbuf, struct htmlq *q,
const int *argc, const char **argv, size_t *res)
{
struct htmlnode *n;
- int i, c;
+ int i;
for (n = q->last; n; n = n->parent)
if (n->tok == ROFF_Bl)
break;
assert(n);
- for (i = 0; ROFF_ARGMAX != (c = n->argc[i]) &&
+ for (i = 0; ROFF_ARGMAX != n->argc[i] &&
i < ROFF_MAXLINEARG; i++) {
switch (n->argc[i]) {
case (ROFF_Enum):
@@ -554,7 +554,7 @@ html_begintag(struct md_mbuf *mbuf, void *data,
size_t res;
struct htmlq *q;
struct htmlnode *node;
- int i, c;
+ int i;
assert(ns != MD_NS_DEFAULT);
res = 0;
@@ -575,7 +575,7 @@ html_begintag(struct md_mbuf *mbuf, void *data,
/* TODO: argv. */
assert(argv);
- for (i = 0; ROFF_ARGMAX != (c = argc[i])
+ for (i = 0; ROFF_ARGMAX != argc[i]
&& i < ROFF_MAXLINEARG; i++)
node->argc[i] = argc[i];
assert(i != ROFF_MAXLINEARG);