summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mandoc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mandoc.c b/mandoc.c
index e53b19f2..4b2bd3f3 100644
--- a/mandoc.c
+++ b/mandoc.c
@@ -116,10 +116,9 @@ mandoc_escape(const char **end, const char **start, int *sz)
rstart = cp;
if (start)
*start = rstart;
- i = 0;
+ i = lim = 0;
gly = ESCAPE_ERROR;
- term = '\0';
- numeric = 0;
+ term = numeric = '\0';
switch ((c = cp[i++])) {
/*
@@ -379,6 +378,7 @@ out:
gly = ESCAPE_FONTROMAN;
break;
}
+ break;
case (ESCAPE_SPECIAL):
if (1 != rlim)
break;